maven的pom文件报错: must be "pom" but is "jar"
时间:2018-08-08 13:20:44
收藏:0
阅读:1151
Project build error: Invalid packaging for parent POM com.test:hello-parent:0.0.1-SNAPSHOT (E:\eclipse-workspace\hello-parent\pom.xml), must be "pom" but is "jar"
解决办法
parent工程的pom.xml文件的project节点下加入如下节点:
<packaging>pom</packaging>
原文:https://www.cnblogs.com/diffx/p/9442053.html
评论(0)