在eclipse上安装m2e时遇到的问题

时间:2014-08-12 03:46:39

标签: eclipse-plugin rad m2e-wtp

遵循以下步骤:(RAD 8.0.4)

  • 转到帮助 - 安装新软件。
  • 在安装向导的“可用软件”页面中,单击“使用”字段旁边的“添加”按钮,然后添加以下新位置: @ download.jboss.org / jbosstools /更新/ m2eclipse的-WTP /
  • 单击“可用软件站点”链接并验证是否仅选中了以下站点的复选框。然后单击确定。

@ download.eclipse.org / webtools / repository / helios

  • 在Available Software页面的Work With字段中,选择:m2eclipse-wtp updates。
  • 在“名称”列下,选中以下复选框:

    • 用于mavenarchiver pom属性的m2e连接器
    • WTP的Maven集成。

发生以下错误。

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e connector for mavenarchiver pom properties 0.15.0.201212080009 (org.sonatype.m2e.mavenarchiver.feature.feature.group 0.15.0.201212080009)
  Missing requirement: Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Missing requirement: Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.core 1.4.1.20140328-1905) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle org.eclipse.core.runtime 3.7.0' but it could not be found
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse JDT 1.4.0.20130601-0317 (org.eclipse.m2e.jdt 1.4.0.20130601-0317)
    To: bundle org.eclipse.m2e.core [1.4.0,1.5.0)
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse JDT 1.4.1.20140328-1905 (org.eclipse.m2e.jdt 1.4.1.20140328-1905)
    To: bundle org.eclipse.m2e.core [1.4.0,1.5.0)
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse JDT 1.5.0.20140606-0033 (org.eclipse.m2e.jdt 1.5.0.20140606-0033)
    To: bundle org.eclipse.m2e.core [1.5.0,1.6.0)
  Cannot satisfy dependency:
    From: m2e connector for the mavenarchiver and pom properties 0.15.0.201212080009 (org.sonatype.m2e.mavenarchiver 0.15.0.201212080009)
    To: bundle org.eclipse.m2e.jdt [1.0.0,2.0.0)
  Cannot satisfy dependency:
    From: m2e connector for mavenarchiver pom properties 0.15.0.201212080009 (org.sonatype.m2e.mavenarchiver.feature.feature.group 0.15.0.201212080009)
    To: org.sonatype.m2e.mavenarchiver [0.15.0.201212080009]

2 个答案:

答案 0 :(得分:14)

我有类似的问题,并设法使用indigo更新网站安装m2e:http://download.eclipse.org/releases/indigo/

  • 转到帮助 - 安装新软件。
  • 添加...选择一个名称,并将上述网址作为位置。
  • 加载列表后,在“通用工具”下,选中“m2e - Eclipse的Maven集成”。
  • 继续安装&重新启动。

希望这有帮助。

答案 1 :(得分:0)

FOR INDIGO:

1)使用url:http://download.eclipse.org/technology/m2e/releases/1.3

安装m2e v1.3

(选择最新的1.3版本)

2)然后使用:http://download.eclipse.org/technology/m2e/releases

安装到m2e v 1.4

(选择最新的1.4版本)