码迷,mamicode.com
首页 > 其他好文 > 详细

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

时间:2017-06-22 23:55:41      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:jar包   details   target   org   download   1.7   tar   nop   led   

调试Mina程序出现如下错误:

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.

 

 

下载相应的slf4j的jar包,在slf4j官网下载,

以1.7.21版本为例。

一般只是在程序中引入了slf4j-api-1.7.21.jar文件。

 

解决方式如下:

  解压下载的zip包中,拷贝 slf4j-nop-1.7.21.jar 文件到项目中,再build path, 就解决了。

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

标签:jar包   details   target   org   download   1.7   tar   nop   led   

原文地址:http://www.cnblogs.com/zhb1190/p/7067680.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!