The parent project must have a packaging type of POM

The parent project must have a packaging type of POM  在Myeclipse中使用Maven添加模块时报错:The parent project must have a packaging type of POM

解决办法: 是将pom.xml 中的 jar 改成 pom

<packaging>jar</packaging> 改成<packaging>pom</packaging>

 

 

你可能感兴趣的:(project)