Could not find artifact org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:pom
##报错信息:Could not find artifact org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:pom:unknown in central (https://repo.maven.apache.org/maven2)pom文件中的依赖:原因分析: 我用的Spring Boot版本是2...
·
##报错信息:
Could not find artifact org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:pom:unknown in central (https://repo.maven.apache.org/maven2)
pom文件中的依赖:
原因分析: 我用的Spring Boot版本是2.2.5 RELEASE, 之前加Eureka Server 依赖没有问题, 并且Eureka Server的版本是最新版本2.2.1 RELEASE, 报错信息是unknown版本, 所以添加依赖版本:
这样pom文件不在报错, 程序也运行正常.
更多推荐
已为社区贡献1条内容
所有评论(0)