Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
来源:互联网 发布:电脑桌面提示语软件 编辑:程序博客网 时间:2024/05/16 19:55
在用Docker部署Spring Cloud项目的时候,执行:mvn package docker:build命令,报如下错误:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Failure to find org.springframework.cloud:spring-cloud-dependencies:pom:Dalston.RC1 in http://47.92.24.162:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ line 43, column 16
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-eureka-server:jar is missing. @ line 29, column 15
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.forezp:eureka-server:0.0.1-SNAPSHOT (/Users/Vino/百度云同步盘/Github/SpringCloudLearning/chapter11-2/eureka-server/pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Failure to find org.springframework.cloud:spring-cloud-dependencies:pom:Dalston.RC1 in http://127.0.0.1:8888/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ line 43, column 16 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-eureka-server:jar is missing. @ line 29, column 15
[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
检查发现pom.xml中:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Dalston.RC1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies></dependencyManagement>
把Dalston.RC1改为Dalston.SR4:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Dalston.SR4</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies></dependencyManagement>
- Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
- ubuntu jenkins 构建报“Failure to find xxx.jar apache.org/maven2 was cached in the local repository"错误
- Maven 错误 Failure to transfer ...was cached in the local repository...
- Could not resolve dependencies for project : Failure to find jar was cached in the local reposit
- maven项目pom.xml报错……was cached in the local repository的解决方法
- Maven:Non-resolvable parent POM: Failure to find错误
- Maven:Non-resolvable parent POM: Failure to find错误
- Maven:Non-resolvable parent POM:Failure to find错误
- Maven:Non-resolvable parent POM: Failure to find错误
- Maven error “Failure to transfer…wan cached in local repository”
- was cached in the local repository, resolution will not be reattempted until the update interval of
- was cached in the local repository, resolution will not be reattempted until the update interval of
- was cached in the local repository, resolution will not be reattempted until the update interval of
- Maven was cached in the local repository, resolution will not be reattempted until the update interv
- Maven错误:was cached in the local repository, resolution will not be reattempted until the update
- Maven依赖中类似was cached in the local repository样的错误
- was cached in the local repository, resolution will not be reattempted until
- was cached in the local repository, resolution will not be reattempted until(Maven常见问题)
- IO流(三)
- IA-32处理器基本功能3
- C语言中的熄灯问题extended lights out(枚举)POJ1222//乱用函数返回值会遭报应QAQ
- POJ 3009.Curling 2.0
- CenterOS设置静态IP
- Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
- 线段树模板
- OpenCV 自学笔记33. 计算图像的均值、标准差和平均梯度
- Linux平台生成AWR报告
- 数据分析过程示例
- 树莓派-硬件和功能-功耗
- 每日一练=20171115
- 蓝桥杯 基础练习 十六进制转八进制
- 我理解的AOP!