各位,
我正在尝试从更新站点升级“Eclipse 的 Maven 集成” - http://m2eclipse.sonatype.org/sites/m2e .
进入存储库站点后,Eclipse 显示可供下载的最新版本为 0.12.1.20110112-1712。但是,当我开始安装时,出现关于现有依赖项的错误。这是错误的前几行:
Cannot complete the install because of a conflicting dependency.
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)
Software currently installed: Eclipse IDE for Java Developers 1.4.1.20110909-1818 (epp.package.java 1.4.1.20110909-1818)
Only one of the following can be installed at once:
Maven Integration for Eclipse 0.12.1.20110112-1712 (org.maven.ide.eclipse 0.12.1.20110112-1712)
Maven Integration for Eclipse 0.12.0.20101115-1102 (org.maven.ide.eclipse 0.12.0.20101115-1102)
This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.0.20110607-2117 (org.maven.ide.eclipse 1.0.0.20110607-2117)
This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.100.20110804-1717 (org.maven.ide.eclipse 1.0.100.20110804-1717)
...
好的。所以我需要先卸载旧版本的 m2e。我去帮助->关于->安装的软件。我看到安装了以下两个 m2e 功能:
Eclipse IDE for Java Developers-->EPP Java Package-->m2e - Maven Integration for Eclipse 1.0.100...
Eclipse IDE for Java Developers-->EPP Java Package-->slf4j over logback logging 1.0.100...
问题是当我选择这两个项目中的任何一个时,“卸载”仍然被禁用。似乎卸载它的唯一方法是卸载父级“Eclipse IDE for Java Developers”。
有人可以告诉我我必须做什么吗?
预先感谢您的帮助。
问候,彼得
最佳答案
如果您在 RAD 8 中遇到此问题,请按照此处的说明进行操作
https://www.ibm.com/developerworks/wikis/download/attachments/113607155/RAD_m2e-Nov.pdf?version=1
关于Eclipse Indigo - 无法升级 m2e,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9286116/