[slf4j-user] StackOverflowError

Yannick PIERSON piersony at gmail.com
Thu Apr 10 14:28:17 CEST 2008


Thanks it works!

I just remove slf4j-jcl.jar.



2008/4/10, Ceki Gulcu <listid at qos.ch>:
>
>
> Hello Yannick,
>
> Please see the section "jcl104-over-slf4j.jar should not be confused
> with slf4j-jcl.jar" in the user manual [1]. It looks like you are
> deploying jcl104-over-slf4j.jar and slf4j-jcl.jar at the same time.
>
> HTH,
>
> [1] http://www.slf4j.org/manual.html
>
>
>
> Yannick PIERSON wrote:
> > Hi,
> >
> > I get this error, but I don't understand why, maybe I forgot a library :
> >
> > Exception in thread "main" java.lang.StackOverflowError
> >         at java.util.HashMap.get(HashMap.java:300)
> >         at
> >
> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:153)
> >         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:219)
> >         at
> > org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
> >         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
> >         at
> >
> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
> >         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:219)
> >         at
> > org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
> >         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
> >         at
> >
> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
> >         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:219)
> >         .........
> > (This is an infinite loop)
> >
> >
> > I use sfl4j in order to use jcr API with alfresco library (for using
> > webDAV, LDAP authentication, ...). My Web server is tomcat. And I work
> > on netbeans.
> >
> > Can you help me please.
> >
> >
> >
> > Thanks in advance.
> >
> > Yannick Pierson
> >
> >
>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > user mailing list
> > user at slf4j.org
> > http://www.slf4j.org/mailman/listinfo/user
>
> --
> Ceki Gülcü
> QOS.ch is looking to hire talented developers in Switzerland.  If
> interested, please contact c e k i @ q o s . c h
>
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20080410/63370f6b/attachment.htm>


More information about the slf4j-user mailing list