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
Similar Posts:
- How to Solve @ResponseBody Error: 500 NoSuchMethodError
- Nuxt module build failed error report
- [Solved] Handler dispatch failed; nested exception is java.lang.AbstractMethodError: com.shiku.im.dao.impl.FriendsDaoImpl.queryFriendsByName(ILjava/lang/String;)Ljava/util/List
- [Solved] class java.lang.RuntimeException/error reading Scala signature of package.class: Scala signature package has wrong version
- Hive Start Error: Exception in thread “main” java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgumen
- Using Maven helper to resolve Maven plug-in conflicts
- error [email protected]: The engine “node” is incompatible with this module.
- Error:Failed to open zip file. Gradle‘s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
- Error reported in the celery log of the project: redis.exceptions.connectionerror failed to connect with redis
- [Solved] Servlet error: org/apache/ibatis/io/Resources could not be found