2

我刚刚使用 STS IDE 从 Spring Template 创建了一个简单的项目,但是 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)

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

4

1 回答 1

0

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

于 2013-07-11T09:48:46.770 回答