2014-02-16 171 views
0

在開發Maven web項目時,我需要下載Maven Eclipse Plugin。 我使用的網址爲:http://download.eclipse.org/technology/m2e/releases as:eclipse - >幫助 - >安裝新軟件 - >點擊添加。下載Maven Eclipse插件(m2e插件)

它提供了以下錯誤:

Cannot complete the install because one or more required items could not be found. 
    Software being installed: m2e - slf4j over logback logging (Optional) 1.4.0.20130601-0317 (org.eclipse.m2e.logback.feature.feature.group 1.4.0.20130601-0317) 
    Missing requirement: Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core.ui 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found 
    Cannot satisfy dependency: 
    From: m2e logback appender 1.4.0.20130601-0317 (org.eclipse.m2e.logback.appender 1.4.0.20130601-0317) 
    To: bundle org.eclipse.m2e.core.ui [1.4.0,1.5.0) 
    Cannot satisfy dependency: 
    From: m2e - slf4j over logback logging (Optional) 1.4.0.20130601-0317 (org.eclipse.m2e.logback.feature.feature.group 1.4.0.20130601-0317) 
    To: org.eclipse.m2e.logback.appender [1.4.0.20130601-0317] 

回答

7

喜VARUN首先嚐試安裝Subclipse,然後M2E。

Click Help>>Install New Software 
Click "Add..." to add a new software site. 
name: subclipse 
location: http://subclipse.tigris.org/update_1.8.x 

Click Help>>Install New Software 
Click "Add..." to add a new software site. 
name: m2eclipse >>Install 
location: http://subclipse.tigris.org/m2eclipse/1.0 
+0

爲什麼需要安裝Subclipse? m2e不依賴於Subclipse,這不是錯誤消息抱怨的! – DanielBarbarian

+0

遵循引用的指令(http://stackoverflow.com/questions/17352485/error-m2e-install-in-eclipse)我不斷收到錯誤:require'bundle org.eclipse.osgi 3.10.0'。喜悅的指示爲我工作。坦克! – DatamineR