<div dir="ltr">Hmmm. It's working for me, somehow. I don't explicitly call getResourceOccurrenceCount() ever, so maybe I don't stumble upon this? On the other hand, I put a breakpoint in there and I do fly through this method when my app starts up. Strange.<div>
<br></div><div><div>Bob<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 29, 2013 at 8:44 AM, Abraham Lin <span dir="ltr"><<a href="mailto:abraham.lin@post.harvard.edu" target="_blank">abraham.lin@post.harvard.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Logback 1.0.11 is built against version 1.7.4 of SLF4J: <a href="http://search.maven.org/remotecontent?filepath=ch/qos/logback/logback-parent/1.0.11/logback-parent-1.0.11.pom" target="_blank">http://search.maven.org/remotecontent?filepath=ch/qos/logback/logback-parent/1.0.11/logback-parent-1.0.11.pom</a></div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Mar 29, 2013 at 11:38 AM, stlecho <span dir="ltr"><<a href="mailto:stlecho@gmail.com" target="_blank">stlecho@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<font><font face="verdana,sans-serif">R<font>obert, the combination you'<font>re suggesting unfortunately results </font></font></font></font><font><font face="verdana,sans-serif"><font><font><font>in java.lang.NoSuchMethodError:<br>
ch.qos.logback.core.util.</font></font></font></font></font>Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;<font><font face="verdana,sans-serif"><br></font></font><br><div class="gmail_quote">
<div>
On Fri, Mar 29, 2013 at 3:41 PM, Robert Kuhar [via Logback] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=11696&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>
</div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div>
<div dir="ltr">I think you go to the heads: SLF4J <span>1.7.5' and Logback </span><span>1.0.11'</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Fri, Mar 29, 2013 at 5:48 AM, stlecho <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=11695&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>
</div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div>Hello,<br>
<br>
With regards to the combination of logback-core and slf4j-api.<br>
If I want to use v1.0.11 of logback-core, which version of slf4j-api should<br>
I use to avoid the getResourceOccurenceCount error ?<br>
<br>
-logback-core v0.9.30 in combination with slf4j-api v1.6.3 works perfectly<br>
<br>
-logback-core v1.0.11 in combination with slf4j-api v1.6.3 results in<br>
java.lang.NoSuchMethodError:<br>
ch.qos.logback.core.util.Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;<br>
<br>
-logback-core v1.0.11 in combination with slf4j-api v1.7.5 works perfectly<br>
result in java.lang.NoSuchMethodError:<br>
ch.qos.logback.core.util.Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;<br>
<br>
Regards, Stefan Lecho<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694.html" rel="nofollow" link="external" target="_blank">http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694.html</a><br>
Sent from the Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Logback-user mailing list<br>
</div><a href="http://user/SendEmail.jtp?type=node&node=11695&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" rel="nofollow" link="external" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote></div><br></div>
<br>_______________________________________________
<br>Logback-user mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=11695&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" rel="nofollow" link="external" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a>
<br>
<br>
<hr color="#cccccc" noshade size="1">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694p11695.html" rel="nofollow" link="external" target="_blank">http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694p11695.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Logback in combination with slf4j: which versions should I use ?, <a rel="nofollow" link="external">click here</a>.<br>
<a href="http://logback.10977.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
</div></blockquote></div><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694p11696.html" target="_blank">Re: Logback in combination with slf4j: which versions should I use ?</a><div>
<div><br>
Sent from the <a href="http://logback.10977.n7.nabble.com/Users-f3.html" target="_blank">Users mailing list archive</a> at Nabble.com.<br></div></div><br></div></div><div class="im">_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>