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

The reason for the error is the lack of slf4j NOP jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.Jar or logback classic Just add one jar package in jar (only one, and there will be conflicts if there are more).

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>1.7.25</version>
</dependency>

Similar Posts: