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

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.qh:staff:0.0.1-SNAPSHOT: Could not fin
d artifact net.qh:ibp_interface_cloud:pom:1.0-SNAPSHOT and 'parent.relativePath'
 points at no local POM @ line 14, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.qh:staff:0.0.1-SNAPSHOT (E:\QunHong\ibp_interface_clou
d\staff\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.qh:staff:0.0.1-SNAPSHOT: Could not
 find artifact net.qh:ibp_interface_cloud:pom:1.0-SNAPSHOT and 'parent.relativeP
ath' points at no local POM @ line 14, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException

解决办法:因为系统中配置了多个版本的maven,和编译环境里面的的maven路径不一样导致的。最后解决办法就是重新配置一下maven环境就解决了无法打包的问题,前提是你的代码没有问题。

猜你喜欢

转载自blog.csdn.net/qq_36856047/article/details/89473612