问题描述
- Maven 报错 Non-resolvable parent POM
-
Failure to find com.test.dacp:dacp-parent:pom:1.0.0.RELEASE in https://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 6, column 10 -> [Help 2]当前的pom.xml里面已经加了relativePath勒。dacp-parent-1.0.0.RELEASE.pom 也在com/test/dacp/dacp-parent里有了。为什么还是报的这个错呢??求解释。。
com.test.dacp
dacp-parent
../dacp-parent
1.0.0.RELEASE补充下当前项目的路径和parent 的路径。看是否有帮助
当前的路径:F:testdacp-me-etlpom.xml
parent的路径:F:testapache-maven-3.2.5deploymentrepositorycomtestdacpdacp-parent1.0.0.RELEASE
解决方案
执行maven clearn,再执行maven update
时间: 2024-11-03 08:14:42