pom文件找不到子项目_java - eclipse中maven项目pom.xml文件找不到parent要怎么解决?...

在Maven项目中遇到pom.xml文件无法找到parent POM,错误显示为`Non-resolvable parent POM`,并且提到在指定的远程仓库中未找到依赖,并在本地缓存中被标记,导致无法重新尝试下载。解决方案可能包括清理本地仓库,更新Maven设置,检查父项目的坐标是否正确,以及确保网络连接和远程仓库地址可用。
摘要由CSDN通过智能技术生成

在maven项目中方pom.xml文件找不到parent,maven clean报错如下:

[ERROR] [ERROR] Some problems were encountered while processing the

POMs: [FATAL] Non-resolvable parent POM for

com.chinaredstar:p-tx-promotion-service:[unknown-version]: Failure to

find com.chinaredstar:p-tx-promotion:pom:0.0.1-SNAPSHOT in

http://10.11.25.246:8081/nexus/content/groups/public/ was cached in

the local repository, resolution will not be reattempted until the

update interval of private-mirror has elapsed or updates are forced

and 'parent.relativePath' points at wrong local POM @ line 3, column

13 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR]

[ERROR] The project

com.chinaredstar:p-tx-promotion-service:[unknown-version]

(D:MKL_PROJECTtx_promotionp-tx-promotionp-tx-promotion-servicepom.xml)

has 1 error [ERROR] Non-resolvable parent POM for

com.chinaredstar:p-tx-promotion-service:[unknown-version]: Failure to

find com.chinaredstar:p-tx-promotion:pom:0.0.1-SNAPSHOT in

http://10.11.25.246:8081/nexus/content/groups/public/ was cached in

the local repository, resolution will not be reattempted until the

update interval of private-mirror has elapsed or updates are forced

and 'parent.relativePath' points at wrong local POM @ line 3, column

13 -> [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

要怎么解决呢,各位好心人求解~ ~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值