[logback-user] Logback in combination with slf4j: which versions should I use ?

stlecho stlecho at gmail.com
Fri Mar 29 16:38:30 CET 2013


Robert, the combination you're suggesting unfortunately results in
java.lang.NoSuchMethodError:
ch.qos.logback.core.util.
Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;

On Fri, Mar 29, 2013 at 3:41 PM, Robert Kuhar [via Logback] <
ml-node+s10977n11695h40 at n7.nabble.com> wrote:

> I think you go to the heads:  SLF4J 1.7.5' and Logback 1.0.11'
>
>
> On Fri, Mar 29, 2013 at 5:48 AM, stlecho <[hidden email]<http://user/SendEmail.jtp?type=node&node=11695&i=0>
> > wrote:
>
>> Hello,
>>
>> With regards to the combination of logback-core and slf4j-api.
>> If I want to use v1.0.11 of logback-core, which version of slf4j-api
>> should
>> I use to avoid the getResourceOccurenceCount error ?
>>
>> -logback-core v0.9.30 in combination with slf4j-api v1.6.3 works perfectly
>>
>> -logback-core v1.0.11 in combination with slf4j-api v1.6.3 results in
>> java.lang.NoSuchMethodError:
>>
>> ch.qos.logback.core.util.Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;
>>
>> -logback-core v1.0.11 in combination with slf4j-api v1.7.5 works perfectly
>> result in java.lang.NoSuchMethodError:
>>
>> ch.qos.logback.core.util.Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;
>>
>> Regards, Stefan Lecho
>>
>>
>>
>> --
>> View this message in context:
>> http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694.html
>> Sent from the Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Logback-user mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=11695&i=1>
>> http://mailman.qos.ch/mailman/listinfo/logback-user
>>
>
>
> _______________________________________________
> Logback-user mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=11695&i=2>
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694p11695.html
>  To unsubscribe from Logback in combination with slf4j: which versions
> should I use ?, click here<http://logback.10977.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=11694&code=c3RsZWNob0BnbWFpbC5jb218MTE2OTR8MTQzNzgxNDAz>
> .
> NAML<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>
>




--
View this message in context: http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694p11696.html
Sent from the Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130329/82d60baf/attachment.html>


More information about the Logback-user mailing list