在安装Maven Integration for Eclipse时出错


问题内容

我正在尝试Install New Software使用sonatype链接通过菜单nad 为Eclipse(Galileo)安装Maven集成

http://m2eclipse.sonatype.org/sites/m2e

并得到以下错误:

由于找不到一个或多个必需项,因此无法完成安装。
正在安装的软件:Maven Integration for
Eclipse(必需)0.12.0.20101115-1102(org.maven.ide.eclipse.feature.feature.group
0.12.0.20101115-1102)
缺少要求:Maven Integration for Eclipse(必需)0.12.0.20101115- 1102
(org.maven.ide.eclipse.feature.feature.group
0.12.0.20101115-1102)需要’org.eclipse.emf.ecore.edit 0.0.0’,但找不到

试图搜索丢失的捆绑包。但是没有成功。:(

有什么帮助吗?


问题答案:

在您的安装管理器中,选中“联系所有更新站点…”,然后重试。由于EMF来自与M2Eclipse不同的更新站点,因此如果无法检查所有更新站点的必需组件,则无法安装M2Eclipse。


更新!

从Eclipse 3.7(Indigo)开始,m2e现在托管在eclipse.org。要安装它,您只需要使用默认的Eclipse更新站点: