700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Failure to find com.rongpd:rpd:pom:1.0 in xxx was cached in the local repository resolution will no

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

时间:2023-12-03 03:49:22

相关推荐

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

独角兽企业重金招聘Python工程师标准>>>

搞 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 是 项目的 包 前缀了。

百度参考一下:

/question/1959276738138777220.html

The project com.creditcloud:Gateway:1.0-SNAPSHOT (F:\工作\部署文档\Gateway\pom.xml) has 1 errorNon-resolvable parent POM: Failure to find com.creditcloud:Parent:pom:1.0.0 in http://repo./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 成功之后,才可以到 子模块的

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。