2013-09-24 60 views
16

我試圖通過市場在Eclipse赫利俄斯安裝的Maven插件整合,但我receiveing「不能滿足依賴」錯誤:如何在Eclipse Helios中安裝Maven集成插件?

Cannot complete the install because one or more required items could not be found. 
    Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) 
    Missing requirement: async-http-client 1.6.5.20130531-2315 (com.ning.async-http-client 1.6.5.20130531-2315) requires 'package org.slf4j 1.6.2' but it could not be found 
    Cannot satisfy dependency: 
    From: Maven Archetype Common Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.archetype.common 1.4.0.20130531-2315) 
    To: bundle org.eclipse.m2e.maven.runtime [1.4.0,1.5.0) 
    Cannot satisfy dependency: 
    From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317) 
    To: org.eclipse.m2e.archetype.common [1.4.0.20130531-2315] 
    Cannot satisfy dependency: 
    From: Embedded Maven Runtime Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.runtime 1.4.0.20130531-2315) 
    To: bundle com.ning.async-http-client [1.6.5,1.6.6) 

你有什麼想法如何可以做到? 不幸的是,在我的情況下升級Eclipse不是一個選項。

+0

您是否曾嘗試通過donwloading'org.slf4j:1.6.2'升級「slf4j」並將其複製到%ECLIPSE_HOME%/ plugins中? – mabbas

+0

這通常意味着與某些已安裝的組件不兼容。你也可以嘗試更新你的插件。 – rlegendi

+0

@mabbas nope,沒有幫助。試圖從Maven網站下載它們的官方網站......所有內容都保持不變。 –

回答

3

在您的安裝管理器中,選中「聯繫所有更新站點」。這應該解決問題,因爲有時候依賴來自不同的站點。

+0

檢查,但沒有。順便說一句,我試圖通過Eclipse Marketplace安裝它,而不是「安裝新軟件」。 –

56

我相信你必須在更新站點嘗試下列網址:

http://download.eclipse.org/technology/m2e/releases

使用try:

http://download.eclipse.org/technology/m2e/releases/1.3

+2

這兩個鏈接。鏈接腐爛2個月後:( – Paul

+3

所提供的網址只能在eclipse-install中使用,它在瀏覽器內不起作用 – k3b

+8

'http:// download.eclipse.org/technology/2.2e/disses/1.3'它的工作原理!!你需要去'安裝新軟件'選項,並添加這個URL,你會得到它通過。 – Joshi

0

日期爲:2015年日至04 我試着對於構建於Eclipse 3.6上的IBM RAD 8.5.0(即Helios平臺)也是如此。 我嘗試使用下面的鏈接,它工作正常。 http://download.eclipse.org/technology/m2e/releases/1.4

也取消選中「只顯示可用軟件的最新版本」,這會給你所有版本與當前版本兼容。