为 Eclipse 安装 Maven 集成时出错 [英] Error while installing Maven Integration for Eclipse

查看:32
本文介绍了为 Eclipse 安装 Maven 集成时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 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:

这篇关于为 Eclipse 安装 Maven 集成时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆