当前位置: 代码迷 >> Eclipse >> Eclipse通过Marketplace安装Maven Integration插件错误
  详细解决方案

Eclipse通过Marketplace安装Maven Integration插件错误

热度:79   发布时间:2016-04-23 01:07:41.0
Eclipse通过Marketplace安装Maven Integration插件异常
异常信息
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

转stackoverflow上的一个解决方法:
I ran into a similar issue today and found that this question also has recently been asked and answered at the atlassian forum as well. My solution was to install slf4j based on guidelines from this blog post about "SLF4J Logging in Eclipse Plugins".

To extract, here is what I did:

Eclipse -> Help -> Install New Software
Add a new software site:
Name: slf4j
Url: http://www.fuin.org/p2-repository/
Expand "Maven osgi-bundles" and select "slf4j-api"
Click "Next" and follow the installation.
After the installation has completed (and Eclipse has been restarted) I was then able to install the maven plugin.
  相关解决方案