首页 > 代码库 > eclipse安装maven插件-解决requires ‘bundle org.slf4j.api 1.6.2′
eclipse安装maven插件-解决requires ‘bundle org.slf4j.api 1.6.2′
eclipse安装maven插件-解决requires ‘bundle org.slf4j.api 1.6.2′
【转载】http://robin.sh/html/1526_eclipse-maven.html
给eclipse安装maven插件,网上教程已经很多,不在累述。关键是安装过程中报错:requires ‘bundle org.slf4j.api 1.6.2‘ but it could not be found。 这个错误很难搞,网上提供的解决方案绝大部分都不起作用。可能跟eclipse的版本也有关。我用的是eclipse3.7.1。
弄了很久,终于找到一种解决的办法。还是要先把slf4j-api这个东西装在eclipse上。具体方法如下:
1. 使用资源仓库 http://www.fuin.org/p2-repository/ ,安装slf4j-api,以及slf4j-log4j12
(其实只要装slf4j-api就可以了)
2. 再使用资源仓库 http://download.eclipse.org/technology/m2e/releases, 安装m2eclipse
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。