在开发Maven web项目时,我需要下载Maven Eclipse插件。 我用url:http://download.eclipse.org/technology/m2e/releases作为:eclipse - >帮助 - >安装新软件 - >单击添加。
它给出了以下错误:
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]
答案 0 :(得分:7)
你好首先尝试安装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
答案 1 :(得分:3)
此问题已在此处得到解答:Error: m2e Install In Eclipse
简而言之,你需要安装slf4j,因为m2e取决于它。