Hello everyone,<br><div class="gmail_quote"><br>I'm creating a Java project that uses the slf4j library. I download slf4j and added the jar slf4j-api-1.6.1.jar to my classpath, but I get the next runtime error:<br><br>
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.helpers.Util.reportFailure(Ljava/lang/String;)V<br>
at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:85)<br> at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:53)<br> at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)<br>
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)<br> at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)<br> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)<br>
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)<br><br>I see that the two methods the class Util contains are:<br><br>static void report(String msg)<br>static void report(String msg, Throwable t)<br clear="all">
<br>I would appreciate any help.<br><br>Thank you very much<br></div><br>