eclipse - Maven for Eclipse (M2E) 安装错误

标签 eclipse maven eclipse-plugin m2eclipse m2e

错误详情:

Cannot complete the install because one or more required items could not be found. Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) Missing requirement: Maven Integration for Eclipse (Editors) 1.4.0.20130601-0317 (org.eclipse.m2e.editor 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) To: org.eclipse.m2e.editor [1.4.0.20130601-0317]`



在 Eclipse 中安装 M2E 时出现上述错误。我使用的 M2E URL 是
http://download.eclipse.org/technology/m2e/releases

最佳答案

到 2011 年底,Sonatype 将 M2Eclipse 项目捐赠给了 Eclipse 基金会,现在简称为 M2E。从 Indigo JEE SR2 版本开始,可以在 Eclipse 中包含的预配置“Indigo”更新站点中找到此插件,这样您就不必添加任何新的更新站点 .

要安装,请执行以下操作:

  • 启动 eclipse ;选择帮助->安装新软件菜单项。
  • 选择“Indigo”更新站点并等待软件选择
    在此“安装”对话框下部的表格中弹出(它
    最多可能需要一分钟)。
  • 在表格中,选择“通用
    工具”,然后单击“M2E - Eclipse Maven 集成”,单击下一步和
    完成插件的安装。
  • 按照指示重新启动 Eclipse。
  • 关于eclipse - Maven for Eclipse (M2E) 安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18934503/

    相关文章:

    java - "//TODO Auto Generated method stub"是什么意思?

    java - Eclipse RCP : File association (--launcher. 打开文件)

    maven - AEM Eclipse 插件 - 新项目创建问题

    eclipse - 创建一个新的 Tomcat 项目

    eclipse - 在 Windows 7 64 位机器上找不到启动 Eclipse 3.6.1 的 Java 虚拟机

    java - 有没有办法在eclipse中隐藏包? (也许是出于安全原因?)

    java - 查找需要jsr311-api-1.1.1哪个依赖

    Maven (Surefire) : copy test resources from src/test/java

    java - Berkeley DB JE 5.0.x 在 Maven Central 中的坐标是什么?

    eclipse - 在访问代码之前,eclipse/osgi 激活器是否总是至少被调用一次?