我試圖從更新站點升級「Maven的集成爲Eclipse」 - 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...
問題是,當我選擇其中任意兩項,「卸載」保持禁用。似乎卸載它的唯一方法是卸載父「用於Java開發人員的Eclipse IDE」。
有人能告訴我我必須做什麼嗎?
非常感謝您的幫助。
問候,
彼得
面向Java開發包中取出Eclipse IDE中。看看是否有幫助。 – MiJyn 2012-02-15 00:13:49
添加到我以前的評論中:刪除Java IDE開發人員的Eclipse IDE的m2e軟件包。 – MiJyn 2012-02-15 00:14:54
這正是我想要做的,但「卸載」被禁用。你是否說有其他方法可以將其刪除?謝謝。 Peter – Peter 2012-02-15 05:24:57