Open source software supply chain lighting plan, waiting for you>>>
java.lang.AbstractMethodError:
org.slf4j.impl.JDK14LoggerAdapter.log(Lorg/slf4j/Marker; Ljava/lang/String;
[Ljava/lang/Object; Ljava/lang/Throwable;)
a new jar package has been added to the project, including the jar package of slf4j. When you start Tomcat and run JUnit unit test, an error will be reported
Solution:
Check whether the jar package is in conflict or the jar version is incompatible (headache conflict)
Because of the incompatibility between “slf4j-api-1.6.2. Jar ” and “slf4j-jdk14-1.5.6. Jar” in my project, delete “slf4j-jdk14-1.5.6. Jar” and download a “slf4j-jdk14-1.6.2. Jar” in the Lib directory, the problem is solved
Provide a download address:
http://mvnrepository.com/artifact/org.slf4j/slf4j-jdk14