Failed to load class "org.slf4j.impl.StaticLoggerBinder"
异常信息如下:
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-log4j12-1.6.3jar包引起的
注意:
log4j不同的版本对应不同的slf4j-log4j12。