In my case of a similar problem, instead of using Andrew's suggestion for the fix, it worked simply after I introduced <pluginManagement> tag to the pom.xml in question. Looks like that error is due to a missing <pluginManagement> tag. So, in order to avoid the exceptions in Eclipse, looks like one needs to simply enclose all the plugin tags inside a <pluginManagement> tag, like so:
<build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
....
</plugins>
</pluginManagement>
</build>
Once this structure is in place, the error goes away.
本文详细介绍了在使用Eclipse过程中遇到的关于POM.xml中缺失<pluginManagement>导致的异常问题。通过在POM.xml中引入<pluginManagement>标签并封装所有插件标签,成功解决了该问题。此解决方案适用于避免在Eclipse中出现类似错误。
1445

被折叠的 条评论
为什么被折叠?



