错误:Eclipse中的Maven安装

时间:2012-02-02 06:52:09

标签: eclipse m2e

试图在Eclipse中安装MAVEN插件: 过程是......

  

在Eclipse3.5版本中......

     

帮助 - > InstallNewSoftware - >添加 - >

     

名称= Maven的   URL = http://m2eclipse.sonatype.org/sites/m2e - > ok

然后我得到了以下错误

Cannot complete the install because one or more required items could not be found.
  Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
  Missing requirement: Maven Integration for Eclipse (Editors) 0.12.1.20110112-1712 (org.maven.ide.eclipse.editor 0.12.1.20110112-1712) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
    To: org.maven.ide.eclipse.editor [0.12.1.20110112-1712]

请帮帮我。

1 个答案:

答案 0 :(得分:2)

自Indigo发布以来,M2E不再需要单独的Sonatype更新端。 M2E可以在预先配置的“Indigo”更新站点中找到。

在Eclipse中,选择Help-> Install New Software菜单项。选择“Indigo”更新站点。

选择站点后,可能需要一分钟才能在此“安装”对话框的表格中扩展软件选项。 Eclipse下载了软件选项后,在“通用工具”下选择“M2E - Maven Integration for Eclipse”。 完成安装并重新启动Eclipse。