springcloud-1:用官方的l配置添加依赖失败

更新时间:2023-05-22 02:57:01 阅读: 评论:0

springcloud-1:⽤官⽅的l配置添加依赖失败
在eclip中⽤STS⽣成了⼀个springcloud应⽤,l的核⼼配置如下:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
</parent>
<dependencyManagement>
<dependencies>
酱焖鲫鱼怎么做
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.M9</version>
<type>pom</type>
<scope>import</scope>
企业资产管理系统</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId></groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>怎么折飞镖
<groupId></groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
</dependencies><repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>repo.spring.io/libs-milestone</url>
<snapshots>
国际标准交谊舞
<enabled>fal</enabled>
</snapshots>
首次公开发行
</repository>
</repositories>
⽤mvn install命令,报错如下:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.cloud:spring-cloud-dependencies:pom:Finchley.M9 from/to spring-milestones (repo.spring.io/milestone): sun.curity.validator.ValidatorException: PKI [ERROR] 'dependencies.dependency.version'for org.springframework.cloud:spring-cloud-starter-netflix-eureka-rver:jar is missing. @ line 29, column 15
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]  The :eureka-rver:1.0.0 (D:\develop\workspace\l) has 2 errors
[ERROR]    Non-resolvable import POM: Could not transfer artifact org.springframework.cloud:spring-cloud-dependencies:pom:Finchley.M9 from/to spring-milestones (repo.spring.io/milestone): sun.curity.validator.ValidatorException: P [ERROR]    'dependencies.dependency.version'for org.springframework.cloud:spring-cloud-starter-netflix-eureka-rver:jar is missing. @ line 29, column 15vaunt
[ERROR]
[ERROR] To e the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
蜜蜂简介
[ERROR]
[ERROR] For more information about the errors and possible solutions, plea read the following articles:
[ERROR] [Help 1] /confluence/display/MAVEN/ProjectBuildingException
软笔书法怎么练[ERROR] [Help 2] /confluence/display/MAVEN/UnresolvableModelException
报的错误挺⽞乎,好像和SSL有关,实际上就是说⽬标⽂件找不到。
经多⽅查找和测试,l中repositories改成如下,解决问题:
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>repo.spring.io/milestone</url>
<snapshots>
<enabled>fal</enabled>
</snapshots>
</repository>
<repository>
<id>repository.lea</id>
<name>Spring Framework Maven Relea Repository</name>
<url>/milestone/</url>
</repository>
<repository>
<id>org.springframework</id>
<url> /snapshot</url>
</repository>
<repository>
<id>spring-milestone</id>
<name>Spring Maven MILESTONE Repository</name>
<url>repo.spring.io/libs-milestone</url>
</repository>
<repository>
<id>spring-relea</id>
<name>Spring Maven RELEASE Repository</name>
<url>repo.spring.io/libs-relea</url>
</repository>
</repositories>

本文发布于:2023-05-22 02:57:01,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/922850.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:配置   资产   国际标准   报错
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图