2011-09-28 174 views
6

我正在嘗試爲Eclipse安裝Maven Plugin,但是我正在創建這個錯誤。Eclipse - Maven安裝錯誤

我正在使用

適用於Web開發人員的Eclipse Java EE IDE。 版本:Indigo Release 構建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] 

請參閱下面

http://imageshack.us/f/823/eclipsse.jpg/

回答

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 
+0

我使用Eclipse開普勒。 在我的情況下,安裝「用於Eclipse的Maven集成(Juno和更新版本)的竅門。 –