Spring STS,pom.xm错误,在此行找到多个注释

Spring STS,pom.xm错误,在此行找到多个注释,spring,pom.xml,Spring,Pom.xml,我刚刚使用STS IDE从Spring模板创建了一个简单的项目,但是pom.xm显示了一个错误: Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin: 2.4.3:resources (execution: default-resourc

我刚刚使用STS IDE从Spring模板创建了一个简单的项目,但是pom.xm显示了一个错误:

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

我花了很长时间查找问题所在,但没有找到解决方案,谢谢。

尝试在项目的根文件夹上运行mvn eclipse:eclipse(您需要先下载maven并将其添加到类路径)。

尝试在项目的根文件夹上运行mvn eclipse:eclipse(您需要先下载maven并将其添加到类路径中)