Hi all!I'm facing some trouble running the wicket stuff examples because no
one start due to java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory exception.I'm using netbeans 6.5 and netbeans. Thanks, Wadi |
NoClassDefFoundError means that netbeans or the server can't find a file.
I'm guessing that it can't find the slf4j.jar http://www.slf4j.org/faq.html From the wicket site: Important note about logging dependencies for 1.3.0 and later. As of Wicket 1.3.0, Wicket uses the SLF4J project for logging. SLF4J is similar to commons-logging, in that it allows libraries/frameworks like Wicket to avoid forcing a choice of logging framework on their users. You cannot use Wicket without adding an SLF4J logging implementation to your classpath. Most people use log4j. If you do, just include slf4j-log4j12.jar on your classpath to get Wicket to use log4j too. If you want to use commons-logging or JDK14 logging or something else, please see the SLF4J site for more information.
|
Thanks!
-----Mensaje original----- De: rmattler [mailto:[hidden email]] Enviado el: jueves, 29 de enero de 2009 11:55 Para: [hidden email] Asunto: Re: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory NoClassDefFoundError means that netbeans or the server can't find a file. I'm guessing that it can't find the slf4j.jar http://www.slf4j.org/faq.html From the wicket site: Important note about logging dependencies for 1.3.0 and later. As of Wicket 1.3.0, Wicket uses the SLF4J project for logging. SLF4J is similar to commons-logging, in that it allows libraries/frameworks like Wicket to avoid forcing a choice of logging framework on their users. You cannot use Wicket without adding an SLF4J logging implementation to your classpath. Most people use log4j. If you do, just include slf4j-log4j12.jar on your classpath to get Wicket to use log4j too. If you want to use commons-logging or JDK14 logging or something else, please see the SLF4J site for more information. wadi wrote: > > Hi all!I'm facing some trouble running the wicket stuff examples because > no > one start due to java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory > > exception.I'm using netbeans 6.5 and netbeans. > > Thanks, > > Wadi > > > -- View this message in context: http://www.nabble.com/java.lang.NoClassDefFoundError%3A-org-slf4j-LoggerFact ory-tp21726877p21727315.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] __________ Information from ESET NOD32 Antivirus, version of virus signature database 3805 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3805 (20090127) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Free forum by Nabble | Edit this page |