maven_plugs报错问题

问题:

Multiple annotations found at this line: CoreException: Could not get the value for parameter com


方案:

1、在pom.xml文件中加入maven-resources-plugin配置
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
</dependency>
2、在命令行下运行mvn install ,如果执行正确应该会在{user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\下看到maven-resources-plugin-2.4.3.jar文件
3、刷新工程(右键工程选择刷新项)
4、刷新maven配置,右键工程节点,选择Maven4MyEclipse-Update Project Configuration

猜你喜欢

转载自blog.csdn.net/xishuchen0520/article/details/80223334
今日推荐