请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

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

老师,我在网上看到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文件:
图片描述
图片描述

正在回答 回答被采纳积分+3

2回答

大目 2020-05-08 15:52:37

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


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 16:11:03
提问者 大爷哥 2020-05-08 15:06:00

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

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信