SLF4J: The requested version 1.5.8 by your slf4j


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.html

运行没有问题,出现这个问题。引入slf4j-api包便可。
api

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-nop包便可。spa


SLF4J: The requested version 1.5.8 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.code

一句话,表示版本低了,更换版本,至少1.6以上。

htm

在lib中,此时slf4j的版本是1.6,而slf4j-log4j的版本是1.5.8,logj-over-slf4j的版本也是1.5.8。因为版本的不兼容性,致使了这个错误。另外升级的1.6版本后,解决问题。it

去官网便可下载最新包:http://www.slf4j.org/
io

相关文章
相关标签/搜索