When Use with slf4j,
String test = blahblahblah; logger.info("{}",test);
Trace as below
java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; at org.slf4j.impl.JDK14LoggerAdapter.info(JDK14LoggerAdapter.java:304)
Looks like you have a version mis-match between the various SLF4J API and integration libraries. SLF4J is extremely twitchy when it comes to version compatibility (e.g. 1.6.x is not backwards compatible with 1.5.x).
Make sure the various JAR versions match, and make sure there are no duplicate JARs on the classpath.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With