Eclipse安装Maven插件时报错之'bundle org.slf4j.api 1.6.2'

Eclipse Indigo安装Maven插件Maven Integration for Eclipse时会报此异常。

 

测试于:eclipse-jee-indigo-SR2-win32

异常信息:

 

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]

 

解决方法:

 

  1. Help -> Install New Software...
    eclipse安装maven插件异常
  2. Work with填写:http://www.fuin.org/p2-repository/ -> 回车,需要一段时间加载列表 -> 搜索框填写slf,然后按如下图勾选 -> Next...即可

    eclipse安装maven插件异常

  3. 过程中可能提示重启,重启后再去安装m2e插件即可。

 

注意:提示缺少1.6.2,这里安装1.6.6是没问题的。

如过此内容对您有帮助,欢迎以点击广告的形式来支持我们,但请每天不要多于一次,否则可能被识别恶意点击,导致封号。

 

转自:http://www.devnote.cn/article/192.html

 

 

你可能感兴趣的:(eclipse,maven插件,Bundle,1.6.2,org.slf4j.api)