您的位置:首页 > 编程语言 > Java开发

MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration

2016-09-03 17:39 369 查看
用myeclipse 2014 整maven 项目时,pom.xml文件中报以下两个异常:

Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-
plugin:2.5:testResources (execution: default-testResources, phase: process-test-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-
plugin:2.5:resources (execution: default-resources, phase: process-resources)

解决方案1:

把maven的版本从3.3.1改成3.1.1



解决方案2:

点击图中的红色字体会出现面内容
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: