【问题标题】:STS, pom.xm error, Multiple annotations found at this lineSTS,pom.xml 错误,在这一行发现了多个注释
【发布时间】:2012-06-11 00:34:30
【问题描述】:

我刚刚使用 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)

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

【问题讨论】:

    标签: spring pom.xml


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-20
      • 2016-01-04
      • 2016-02-21
      • 1970-01-01
      • 2014-09-12
      相关资源
      最近更新 更多