我正在尝试为Eclipse安装Maven插件,但我发现了这个错误。
我正在使用
面向Web开发人员的Eclipse Java EE IDE。 版本:Indigo Release Build id:20110615-0604 Eclipse版本。
Cannot complete the install because of a conflicting dependency.
Software being installed: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
Software currently installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
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)
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)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
To: bundle org.maven.ide.eclipse [1.0.100.20110804-1717]
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.maven.ide.eclipse [0.12.1.20110112-1712]
请参阅下面给出的错误的屏幕截图
答案 0 :(得分:4)
您只需卸载m2eclipse版本0.12.x并重试安装。您实际上是在尝试同时安装m2e和m2eclipse(读取:较旧的m2e)。
我的Eclipse JDT和m2e版本是:
Eclipse Java Development Tools 3.7.0.v20110520-0800
m2e - Maven Integration for Eclipse 1.0.0.20110607-2117