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.
在网上搜到一个Blog,内容大致如下:
问题的原因是无法找到org.slf4j.impl.StaticLoggerBinder,我找了一下,确实没有该类,网上搜了一下下面是官方的解答http://www.slf4j.org/codes.html#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.
You can download SLF4J bindings from the project
download page.
大意是org.slf4j.impl.StaticLoggerBinder
无法载入到内存,原因是没有找到合适的绑定SLF4J,需要添加所列举的包中的某一个。
解决方法如下:
下载slf4j-nop.jar,添加到路径中,就解决问题了
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.
这句话的具体翻译没有搞明白。
分享到:
相关推荐
org.slf4j.impl.StaticLoggerBinder.class org.slf4j.impl.StaticMDCBinder.class org.slf4j.impl.StaticMarkerBinder.class org.slf4j.spi.LocationAwareLogger.class org.slf4j.spi.LoggerFactoryBinder.class org...
hibernate的错误SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".的解决方法是:下载slf4j-nop.jar、slf4f-simple.jar、slf4j-log4j12.jar、slf4j-jdk14.jar或logback-classic.jar中某一个而且...
NULL 博文链接:https://javajoy.iteye.com/blog/285894
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...
slf4j-nop-1.6.1.jar,SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder ”解决办法,
解决Failed to load class "org.slf4j.impl.StaticLoggerBinder" 所需要的jar包:slf4j-log4j12-1.7.5.jar
用于Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题的jar包
类org.slf4j.impl.StaticLoggerBinder并不在slf4j-api-1.5.2.jar包中,仔细查看每个与具体日志系统对应的jar包,就会发现,相应的jar包都有一个org.slf4j.impl.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#StaticLoggerBind
slf4j-1.5.2.zip 解决了我的org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory. 错误
运行.jar文件例如java -jar compendium-of-test-apps-v1-1.jar 服务器应该会启动,您会看到如下内容: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP)...
关于解决 java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder 的解决方法
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBind 缺少的包。此外缺少一个log4j的包 我都一起打进去了
1. <span Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2. SLF4J: Defaulting to no-operation (NOP) logger implementation 3. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder ...
这个存储库包含 org.slf4g.impl.RingBufferLogger 的第一个版本,SimpleLogger 的扩展。 此类将日志消息存储在内部或外部 RingBuffer 中。 默认情况下,这个记录器将从内部环形缓冲区(在单独的线程中)读取消息并将...