You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Piller Sébastien <pi...@hmcrecord.ch> on 2007/10/28 12:51:30 UTC

[Newbie][1.3 beta] StackOverflowError on LogFactory.getContextClassLoader

Hello everybody,

I'm a new user of Wicket, and I got to make the HelloWorldApplication 
works with Wicket 1.2.6 . I tried to do the same with wicket 1.3 beta, 
but it throw a StackOverflowError:

    java.lang.StackOverflowError
        at java.lang.reflect.Method.copy(Unknown Source)
        at java.lang.reflect.ReflectAccess.copyMethod(Unknown Source)
        at sun.reflect.ReflectionFactory.copyMethod(Unknown Source)
        at java.lang.Class.searchMethods(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at
    org.apache.commons.logging.LogFactory.getContextClassLoader(LogFactory.java:482)
        at org.apache.commons.logging.LogFactory$1.run(LogFactory.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at
    org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:262)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
        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:414)
        at
    org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
       
        [loop on these lines]
        at
    org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
        at
    org.slf4j.impl.JCLLoggerFactory.getLogger(JCLLoggerFactory.java:69)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)


It looks like the logging API isn't correctly set.
Is there something I've made wrong?

Thanks for your help!

S. Piller

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: [Newbie][1.3 beta] StackOverflowError on LogFactory.getContextClassLoader

Posted by Pills <pi...@hmcrecord.ch>.
I found a way.... I've just copied all *.jar from /lib in
"wicket-examples-1.3.0-beta4.war" to "myapp/WEB-INF/lib", ant that works
fine ;)

I still don't know exactly which jar are required by Wicket, but now it
works 

;) 

-- 
View this message in context: http://www.nabble.com/-Newbie--1.3-beta--StackOverflowError-on-LogFactory.getContextClassLoader-tf4706676.html#a13454622
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org