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

2 篇文章 0 订阅
1 篇文章 0 订阅
在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]

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

http://happyqing.iteye.com/blog/1900911点击打开链接

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

 

离线安装包:

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下载地址

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值