pom.xml 报错:Multiple annotations found at this line
转载地址:http://www.07net01.com/zhishi/231170.html eclipse加载maven工程提示pom.xml无法解析org. apache .maven.plugins:maven-resources-plugin:2.4.3 解决方案 在别的机子上创建一个maven工程,复制到本机上导入,出现pom.xml文件错误,提示错误如下 Multiple annotations found at this line:- Execution default-testResources of goal org.apache.maven.plugins:maven-resources- plugin:2.4.3:testResources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or> 原因 这是由于缺少maven-resources-plugin-2.4.3.jar文件。这个文件是在{user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\下。{user.home}是maven的 配置 路径,一般是我的文档,是window-preferences-MyEclipse