老师,我在网上看到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文件:
面向未来微服务:熟练掌握Spring Cloud Alibaba
了解课程