为 Eclipse 安装 Maven 集成时出错

2022-01-16 00:00:00 eclipse-plugin java eclipse maven m2eclipse

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

I'm trying to install Maven integration for Eclipse (Galileo) through Install New Software menu nad using the sonatype link

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)
缺少要求:Eclipse 的 Maven 集成(必需)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' 但找不到

Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for Eclipse (Required) 0.12.0.20101115-1102 (org.maven.ide.eclipse.feature.feature.group 0.12.0.20101115-1102)
Missing requirement: Maven Integration for Eclipse (Required) 0.12.0.20101115-1102
(org.maven.ide.eclipse.feature.feature.group 0.12.0.20101115-1102) requires 'org.eclipse.emf.ecore.edit 0.0.0' but it could not be found

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

Tried to search for the missing bundle. But no success. :(

有什么帮助吗?

推荐答案

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

In your install manager, check "Contact all updates sites..." and try again. Since EMF comes from a different update site than M2Eclipse, M2Eclipse cannot be installed without the ability to check all update sites for required components.

更新!

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

Since Eclipse 3.7 (Indigo), m2e is now hosted at eclipse.org. To install it, you just need to use the default Eclipse update site:

  • http://download.eclipse.org/releases/kepler
  • http://download.eclipse.org/releases/juno
  • http://download.eclipse.org/releases/indigo
  • 等等

相关文章