【问题标题】:pom.xml shows multiple annotations errors in Eclipsepom.xml 在 Eclipse 中显示多个注释错误
【发布时间】:2014-07-14 18:12:49
【问题描述】:

我可以从命令行构建项目,但是当我将它导入 Eclipse 时,我在 pom.xml 中出现以下错误:

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

Eclipse Maven Integration 插件使用的是 Maven 版本3.2.1,我的系统也使用相同的版本。

此错误的原因可能是什么?如何解决?

【问题讨论】:

标签: java eclipse maven m2eclipse


【解决方案1】:
  1. 您应该安装或更新 M2Eclipse,即 Maven 集成
    日食
  2. 重启eclipse
  3. 删除项目,重新添加项目

这应该可以解决您的错误

【讨论】:

    猜你喜欢
    • 2012-06-11
    • 2013-06-20
    • 1970-01-01
    • 2015-08-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-06
    • 2011-04-13
    相关资源
    最近更新 更多