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