老师,我在网上看springcloud alibaba仓库迁移,按照新地址引入依赖报错

来源:5-5 将应用注册到Nacos

大爷哥

2020-05-08

老师,我在网上看到springcloud alibaba仓库迁移,按照新地址引入依赖报错。
pom:
图片描述
install报错:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Failure to find com.alibaba.cloud:alibaba-spring-cloud-dependencies:pom:0.9.1.RELEASE in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced @ line 58, column 25
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.example:service:0.0.1-SNAPSHOT (F:\module_springcloud\service\pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find com.alibaba.cloud:alibaba-spring-cloud-dependencies:pom:0.9.1.RELEASE in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced @ line 58, column 25 -> [Help 2]
[ERROR]
[ERROR] To see 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, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

本地maven settings.xml文件:
图片描述
图片描述

写回答

2回答

大目

2020-05-08

您好,你的日志和代码对不上号啊。。


Non-resolvable import POM: Failure to find com.alibaba.cloud:alibaba-spring-cloud-dependencies:pom:0.9.1.RELEASE in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced @ line 58, column 25


这个0.9.1代码里是没有的。


“用迁移说明规则的将alibaba  ”

迁移说明规则的是什么东西?

0
1
大爷哥
ok,谢谢老师,已经搞定了!我是在百度springcloud alibaba 的资料时看到spring cloud alibaba仓库迁移的通知,artifactId有变动
2020-05-08
共1条回复

大爷哥

提问者

2020-05-08

artifactId只能用spring-cloud-alibaba-dependencies,用迁移说明规则的将alibaba
提到开头会报错

0
0

Spring Cloud Alibaba微服务从入门到进阶

面向未来微服务:熟练掌握Spring Cloud Alibaba

3085 学习 · 1324 问题

查看课程