eclipse中执行maven报错Failedto load class org.slf4j.impl.StaticLoggerBinder?
来源:互联网 发布:java writer append 编辑:程序博客网 时间:2024/06/05 08:59
问题:
安装m2e后,将导入项目转化为maven project,仍有红色叉叉。
compile后,输出Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
分析:http://www.slf4j.org/codes.html#StaticLoggerBinder
Failedto load class org.slf4j.impl.StaticLoggerBinder
This error is reported when the org.slf4j.impl.StaticLoggerBinder
class could not be loaded into memory. This happens when no appropriate SLF4J binding could be found on the class path.Placing one (and only one) of slf4j-nop.jar,slf4j-simple.jar, slf4j-log4j12.jar,slf4j-jdk14.jar orlogback-classic.jar on the class path should solve the problem.
since 1.6.0 As of SLF4J version 1.6, in the absence of a binding, SLF4J will default to a no-operation (NOP) logger implementation.
You can download SLF4J bindings from the project download page.
解决方法:
如上官方文档所述。
下载zip包,在properties->java build path -> libraries中add external JARS选择下载zip中的slf4j-nop.jar,slf4j-simple.jar,slf4j-log4j12.jar, slf4j-jdk14.jar orlogback-classic.jar任一。
红叉叉消失啦
- eclipse中执行maven报错Failedto load class org.slf4j.impl.StaticLoggerBinder?
- eclipse maven SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder
- eclipse maven slf4j Failed to load class "org.slf4j.impl.StaticLoggerBinder"
- 在MyEclipse中运行Maven项目显示 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- Maven创建shiro 实例过程中出现SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- maven : Failed to load class "org.slf4j.impl.StaticLoggerBinder"
- Mina 服务器启动报错,“SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" “的解决方案
- JAVA之SLFJ报错Failed to load class "org.slf4j.impl.StaticLoggerBinder".-yellowcong
- quartz报错:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-op
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. in a Maven Project
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. in a Maven Project
- maven项目 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".错误
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决 .
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决
- 编码问题学习【2】
- 输入一个已经按升序排序过的数组和一个数字,在数组中查找两个数
- CCProgressTo和CCProgressTimer
- 公钥,私钥,数字签名,数字证书个人总结
- ssh免输入密码登录
- eclipse中执行maven报错Failedto load class org.slf4j.impl.StaticLoggerBinder?
- adb下载文件到安卓虚拟机里
- 如何基于FFMPEG和SDL写一个少于1000行代码的视频播放器
- HTML5移动开发之路 jQueryMobile页面间参数传递
- Alsa驱动分析
- 第五十九题(用C++设计一个不能被继承的类)
- UML初了解
- ORA-06553: PLS-801: internal error
- Bootstrap 学习