SLF4J NoSuchMethodError on LocationAwareLogger

前端 未结 8 1763

This is a question that has been asked before, but unfortunately no solution seems to work for me. I am facing this exception (with abridged stack trace):

ja         


        
8条回答
  •  悲&欢浪女
    2020-12-03 07:14

    We were facing the similar problem and it turned out we had 2 incompatible versions of slf4j jars in the classpath. The class path had the following 2 incompatible versions. After removing the lower versions from the classpath, the problem was fixed.

    slf4j-api-1.6.1.jar
    slf4j-log4j12-1.6.1.jar

    slf4j-api-1.5.11.jar
    slf4j-log4j12-1.5.11.jar

提交回复
热议问题