kafka中遇到SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
2014-10-27 17:30
495 查看
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,页面中给出了错误出现的答案:
This error is reported when the
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源码,然后将slf4j-nop.jar,slf4f-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar中某一个而且只能是某一个放到调用类的路径就可以了。
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,页面中给出了错误出现的答案:
Failedto load class org.slf4j.impl.StaticLoggerBinder
This error is reported when the org.slf4j.impl.StaticLoggerBinderclass 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源码,然后将slf4j-nop.jar,slf4f-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar中某一个而且只能是某一个放到调用类的路径就可以了。
相关文章推荐
- log4j启动时警告: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"问题
- 解决s2sh项目开发中的SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- slf4j: failed to load class "org.slf4j.impl.staticloggerbind
- 【Error】SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- (BUG) SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"问题解决 .
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- quartz报错:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-op
- 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"
- eclipse运行出现SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".