[Solved] SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.

Error content:

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.


1) First, look at the version of sl4j API in your project (for example, mine is 1.7.25)

2) Then in http://mvnrepository.com/ Search slf4j-log4j12 and slf4j log4j12 binding will appear. Click to enter and there will be many versions of slf4j-log4j12. We click slf4j-log4j12 of version 1.7.25 to enter the details page and view the dependent log4j

Click: 1.2.27

Perfect problem solving:

Pom.xml installation dependency of Maven project:


Similar Posts: