SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2015-06-16 11:25
411 查看
运行项目后出现红色提示:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
提示中说到 http://www.slf4j.org/codes.html#StaticLoggerBinder 中查看进一步的信息:
在网站中找到如下的信息:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
提示中说到 http://www.slf4j.org/codes.html#StaticLoggerBinder 中查看进一步的信息:
在网站中找到如下的信息:
Failed to 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 or logback-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解决办法就是添加
slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar这些包中的任何一个(并且只能添加一个),问题解决。
相关文章推荐
- FairSync与NonFairSync比较
- Leetcode36: Contains Duplicate II
- Foxmail登陆gmail设置
- WIZnet将参展2015年深圳MakerFaire制汇节!
- ArrayList的contains方法
- DB2中生成EXPLAIN table并导出explain plan
- Opencontrail的git库
- httpd: Could not reliably determine the server's fully qualified domain name
- Contains Duplicate
- ZOJ 1094 Matrix Chain Multiplication
- Factorial Trailing Zeroes
- main函数参数详解
- Adding an instance to a MEF container
- leetcode——Container With Most Water
- hdoj 1302 The Snail
- [leetcode] Container With Most Water
- IoC Containers with Xamarin
- hybris5.2学习-----Trail ~ Preparation
- 35Exchange 2010升级到Exchange 2013-安装CAS&Mailbox
- AMQP server on c ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.