SLF4J NoSuchMethodError on LocationAwareLogger

The javadocs for NoSuchMethodError say,

Normally, this error is caught by the compiler; this error can
only occur at run time if the definition of a class has incompatibly changed.

So this is probably being caused by incompatible versions of slf4j being loaded. Rather than looking at your classpath and guessing where classes are loaded, find where your class is loaded as described here.

Print out where org.slf4j.spi.LocationAwareLogger, org.apache.commons.logging.impl.SLF4JLocationAwareLog and org.slf4j.Marker are being loaded from.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)