maven的pom文件报错: must be "pom" but is "jar"
Posted 这个人在加班
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven的pom文件报错: must be "pom" but is "jar"相关的知识,希望对你有一定的参考价值。
Project build error: Invalid packaging for parent POM com.test:hello-parent:0.0.1-SNAPSHOT (E:eclipse-workspacehello-parentpom.xml), must be "pom" but is "jar"
解决办法
parent工程的pom.xml文件的project节点下加入如下节点:
<packaging>pom</packaging>
以上是关于maven的pom文件报错: must be "pom" but is "jar"的主要内容,如果未能解决你的问题,请参考以下文章
scrapy+mongodb报错 TypeError: name must be an instance of str
TypeError: write() argument must be str, not bytes报错
执行PHP -m报错Xdebug MUST be loaded as a Zend extension
报错解决——TypeError: LoadLibrary() argument 1 must be str, not None
python执行ffmpeg 报错:at least one output file must be specified