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:
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
- [Solved] SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
- [Solved] Interpreter error /com.fasterxml.jackson.databind.JavaType
- java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.Log4jLoggerFactory
- [Solved] IDEA springboot Startup Error: SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- [Solved] Springboot integrate swagger Error: failed to start bean ‘documentationpluginsboot
- [Solved] SparkSQL Error: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- [Solved] SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.