我正在尝试通过 Install New Software
菜单和使用 sonatype 链接来安装 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)
缺少要求: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”,但找不到
尝试搜索丢失的包。但没有成功。 :(
有什么帮助吗?
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
And getting following error:
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. :(
Any help?
发布评论
评论(8)
为了在 helios 上安装新的 m2e (1.4),我必须卸载 eclipse 中的所有 Maven 元素,然后,我可以从 http://download.eclipse.org/technology/m2e/releases”
卸载现有 Maven 元素的步骤(来自 org.maven.ide.*):
In order to install the new m2e (1.4) on helios, i had to uninstall all maven elements in eclipse and then, i could install m2e from http://download.eclipse.org/technology/m2e/releases".
Steps to uninstall existing maven elements ( from org.maven.ide.*) :
另一种为Eclipse安装Maven插件的方式:
Another way of installing the Maven plug-in for Eclipse:
确保在安装过程中选中联系所有更新站点以查找请求的软件,然后单击“Maven Integration for Eclipse & Maven Integration”安装的下一步。 m2e-slf4j 通过 logback 日志记录(可选)。
我遇到了同样的问题,现在已经通过执行上述操作解决了。
希望这会有所帮助。
Make sure that you checkmark contact all update sites during install to find request software before click to next of the installation of Maven Integration for Eclipse & m2e-slf4j over logback logging (Optional).
i was facing same problem, right now it has solve by doing the above.
Hope this will helpful.
在安装管理器中,选中“联系所有更新站点...”,然后重试。由于 EMF 来自与 M2Eclipse 不同的更新站点,因此如果无法检查所有更新站点中所需组件,则无法安装 M2Eclipse。
更新!
从 Eclipse 3.7 (Indigo) 开始,m2e 现在托管在 eclipse.org 上。要安装它,您只需使用默认的 Eclipse 更新站点:
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.
UPDATE!
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 CDT 吗?如果是这样,您需要确保还安装了 Java 开发工具。假设您使用的是 Helios,请使用 http://download.eclipse.org/releases/helios/ 作为更新站点并从“编程语言”下的功能列表中安装 JDT 工具。我遇到了同样的问题,这为我解决了。
Are you using Eclipse CDT? If so, you need to make sure you have the Java Development Tools installed as well. Assuming you're using Helios, use http://download.eclipse.org/releases/helios/ as an update site and install the JDT tools from the list of features under "Programming Languages". I had the same problem and that solved it for me.
从 Eclipse 3.7 (Indigo) 开始,m2e 现在托管在 eclipse.org 上。要安装它,您只需要使用默认的 Eclipse 更新站点:
因此,要在 eclipse indigo 中获取 Maven,请参考下面链接中以黄色突出显示的答案以及屏幕截图
eclipse indigo market Maven 集成安装错误
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:
Hence, for getting maven in eclipse indigo please refer the answer highlighted in yellow color alongwith screenshot at below link
eclipse indigo marketplace Maven Integration install error
我有同样的问题(顺便说一句,“联系所有更新站点”是默认设置)。我在 eclipse bugzilla 中发现了这个错误报告,这表明我们的插件本身存在问题。
https://bugs.eclipse.org/bugs/show_bug.cgi?id=330896
对我来说,一个解决方法是回退到旧版本的 m2eclipse / m2eclipse extras / 颠覆性集成。我使用了以下 URL:
I have the same issue (btw, "contact all update sites" is default). I found this bugreport in eclipse bugzilla which kind of indicates that we are having an issue in the plugin itself.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=330896
A workaround for me is to fall back to older versions of m2eclipse / m2eclipse extras / subversive integration. I used the following URLs:
大多数eclipse不支持maven 3.5 iven 1.8。要安装maven,你必须去halp--安装新软件
名称:M2Eclipse
位置: http://download.eclipse.org/technology/m2e/releases/1.4< /a>
对于 helios: http://download.eclipse.org/technology/m2e/发布/1.3
the majority of eclipse does not suport maven 3.5 iven 1.8. to install maven you must go to halp--install new software
Name:M2Eclipse
location: http://download.eclipse.org/technology/m2e/releases/1.4
for helios: http://download.eclipse.org/technology/m2e/releases/1.3