Failure to find com.rongpd:rpd:pom:1.0 in xxx was cached in the local repository, resolution will no

搞 maven install 模块的时候报错:

Failure to find com.rongpd:rpd:pom:1.0 in xxx was cached in the local repository, resolution will not be reattempted until the update interval of maven-aliyun has elapsed or updates are forced

因为我想 install 的模块是 core  , 它依赖 kit模块, 而 kit 模块 已经 install 成功了。 

他们都一个 父模块。 在 install core的时候就不行了。 

从上面的提示,特别是最后一句, 差不多了  阿里云 maven库 不能更新或者下载不来 core jar包。。。

因为 配置的是 阿里云的库。  这个 错误 肯定的了,因为怎么可能从阿里云库下载到 core 这个项目模块?

而 第一句的错误,就看起 来 比较奇怪,看不出什么意思。当然了  com.rongpd 是 项目的 包 前缀了。

百度参考一下:

https://zhidao.baidu.com/question/1959276738138777220.html

 

The project com.creditcloud:Gateway:1.0-SNAPSHOT (F:\工作\部署文档\Gateway\pom.xml) has 1 error
Non-resolvable parent POM: Failure to find com.creditcloud:Parent:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 9, column 13 -> [Help 2]




找不到 com.creditcloud:Parent:pom:1.0.0
若你是用多模块的话,先到 Parent 里面,mvn clean install

 

报错和我的很类似。

于是 试着 在父模块 进行  编译和打包: mvn clean install -Dmaven.test.skip=true

果然成功了。

成功之后, 继续在 core 模块,单独进行 install 也成功了。估计需要先从父模块 install 成功之后,才可以到 子模块的

 

 

 

 

 

转载于:https://my.oschina.net/ouminzy/blog/3019580

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值