老师,我在网上看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 ”
迁移说明规则的是什么东西?
012020-05-08 -
大爷哥
提问者
2020-05-08
artifactId只能用spring-cloud-alibaba-dependencies,用迁移说明规则的将alibaba
提到开头会报错00
相似问题