1. 程式人生 > >SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder

  今天在學習activemq的時候啟動工程報錯

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

根據提示進入http://www.slf4j.org/codes.html  搜尋 org.slf4j.impl.StaticLoggerBinder


大概意思就是少了些依賴包吧選擇這些當中的一個就好

Placing one (and only one) of slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar

於是我下載了slf4j-nop.jar 匯入問題解決