您的位置:首页 > 编程语言 > Java开发

m2eclipse安装出现bundle org.slf4j.api 1.6的解决方法

2013-07-30 13:10 666 查看
在Eclipse中安装maven plugin时若出现如下错误:
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: SCM Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.scm 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
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.scm [1.4.0.20130601-0317]

则使用如下解决方案即可解决:

/article/3946804.html点击打开链接

在文章的最后有描述离线安装方式即可解决!

离线安装包:
 http://ishare.iask.sina.com.cn/f/36090147.html 
在dropins目录下创建文件夹maven3

把解压出的features目录和plugins目录放到dropins下的maven3里就可以了,不用link方式。

目录

eclipse3.7

--plugins
--features
--links
------xxx.link(或者是xxx.txt)
--dropins
------xxx

----------plugins
----------features

测试

windows--首选项中有Maven


补充:

最新尝试了一个新的方法

将slf4j的jar添加到eclipse的安装目录plugins下也可以。

要求为报错需要的slf4j以上版本,命名规则为:slf4j.api_1.6.x.jar

x为具体的版本,我这里有slf4j.api_1.6.6.jar的包,下载地址为:slf4j-eclipse下载地址
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐