Of course, I have that lib.. That was the first thing I made sur before posting :)
I really don't understand ! maybe conflicts between common-logging and log4j ? heeelp charlie bird wrote: > > Looks like you've lost the commons logging jar from > your classpath somehow. Have look at your Eclipse > project properties java buildpath (Right click on your > project in the navigator window - properties - java > build path - libraries). If you do not have > commons-logging-somenumbers.jar there than that'll be > your problem. > > Charlie > > --- Jeremy Jardin <[EMAIL PROTECTED]> wrote: > >> >> Hey, I've got something more.. >> I think a library is missing ... >> >> I caught the Throwable exception et logged the cause >> : >> >> Caused by: java.lang.RuntimeException: Error >> creating logger for class class >> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl. >> Cause: >> java.lang.reflect.InvocationTargetException >> at com.ibatis.common.logging.LogFactory.getLog >> (LogFactory.java:33) >> at >> > com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(SqlMapClientImpl.java:41) >> ... 51 more >> Caused by: >> java.lang.reflect.InvocationTargetException >> at >> > sun.reflect.NativeConstructorAccessorImpl.newInstance0 >> (Native >> Method) >> at >> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> at >> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java >> :27) >> at >> > java.lang.reflect.Constructor.newInstance(Constructor.java:494) >> at >> > com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:31) >> ... 52 more >> Caused by: java.lang.NoClassDefFoundError: >> org/apache/commons/logging/LogFactory >> at >> > com.ibatis.common.logging.jakarta.JakartaCommonsLoggingImpl.<init>(JakartaCommonsLoggingImpl.java:11) >> ... 57 more >> INFO [http-8888-Processor24] (?:?) - Cause de >> l'exception : >> java.lang.RuntimeException : Error creating logger >> for class class >> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl. >> Cause: >> java.lang.reflect.InvocationTargetException >> WARN [http-8888-Processor24] >> (RequestProcessor.java:528) - Unhandled >> Exception thrown: class >> > fr.gouv.finances.douane.dnsce.oci.business.exception.DAOConfLoadingException >> ERROR [http-8888-Processor24] >> (ApplicationDispatcher.java:723) - >> "Servlet.service()" pour la servlet action a lancé >> une exception >> >> >> >> Jeremy Jardin wrote: >> > >> > >> > This is my doctype : >> > <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD >> SQL Map 2.0//EN" >> > "http://ibatis.apache.org/dtd/sql-map-2.dtd"> >> > >> > And the application is running with Tomcat >> 5.5.23.. >> > >> > There are things I don't understand.. my >> application WORKED with my dtds.. >> > and >> > I did not modify anything on it..... >> > I just changed workspace properties in eclipse... >> > >> > ... >> > >> > >> > >> > nmaves wrote: >> >> >> >> hmmm please ensure that you have the following >> >> >> >> <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD >> SQL Map Config 2.0//EN" >> >> " >> >> >> http://ibatis.apache.org/dtd/sql-map-config-2.dtd"> >> >> >> >> What larry is trying to find out is what xml >> parser is tomcat using.... >> >> but >> >> in reality almost any recent version of tomcat >> should work. I am >> >> assuming >> >> that your dev environment is behind a firewall >> that prevents you from >> >> seeing >> >> ibatis.apache.org but and recent xml parser >> should read the dtd from your >> >> jar file and only try to use th actual url if >> there is not one in the jar >> >> file. >> >> >> >> So please find out what version of tomcat you are >> using? >> >> >> >> >> >> Nathan >> >> >> >> On Nov 9, 2007 12:41 AM, Jeremy Jardin >> <[EMAIL PROTECTED]> wrote: >> >> >> >>> >> >>> Hi, >> >>> >> >>> I'm not sure to know what you want me to tell >> you ... >> >>> So, I wrote my application with eclipse >> plateform, webapps running on >> >>> tomcat.. >> >>> I thought that the xml parsing of those files is >> managed by Ibatis >> >>> framework.... >> >>> >> >>> You make me remind that i changed some XML >> validation properties on >> >>> eclipse...because >> >>> I just wanted tu suppress warning in my project >> on my xml files.. >> >>> The warnings were : "can't reach >> ibatis.apache.org" .. on my >> >>> sqlmapfiles... >> >>> >> >>> But I rollback my changes.. and it still does >> not work.. >> >>> >> >>> >> >>> >> >>> Larry Meadors-2 wrote: >> >>> > >> >>> > Yeah, sorry w/o == without. >> >>> > >> >>> > What does your JDK or app server use to read / >> manage XML data? >> >>> > >> >>> > Larry >> >>> > >> >>> > >> >>> > On Nov 8, 2007 9:17 AM, Jeremy Jardin >> <[EMAIL PROTECTED]> wrote: >> >>> >> >> >>> >> I guess w/o means without ? :) ? >> >>> >> >> >>> >> XML parser .??? what do you mean ? >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> Larry Meadors-2 wrote: >> >>> >> > >> >>> >> > Hmm, the DTD should be resolved w/o >> internet access. Do you have an >> >>> >> > unusual or older XML parser? >> >>> >> > >> >>> >> > Larry >> >>> >> > >> >>> >> > >> >>> >> > On Nov 8, 2007 9:01 AM, Jeremy Jardin >> <[EMAIL PROTECTED]> >> >>> wrote: >> >>> >> >> >> >>> >> >> Well, the pc from which I start the web >> application don't have any >> >>> web >> >>> >> >> connection. >> >>> >> >> So, I put the dtds into my web-inf >> directory... not very sexy, but >> >>> it >> >>> >> >> works >> >>> >> >> ;-) >> >>> >> >> >> >>> >> >> I wrote a DaoConfLoader class, used ton >> init the ibatis >> >>> configuration, >> >>> >> >> parsing the dao.xml file. >> >>> >> >> That classe is invoked by the >> authentication servlet, when the >> >>> server >> >>> >> is >> >>> >> >> up. >> >>> >> >> >> >>> >> >> I unfortunatly can't use the >> ibatis.apache.org's dtd... but my >> >>> >> solution >> >>> >> >> worked 'til today !! >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> Larry Meadors-2 wrote: >> > === message truncated === > > > > ___________________________________________________________ > Yahoo! Answers - Got a question? Someone out there knows the answer. Try > it > now. > http://uk.answers.yahoo.com/ > > -- View this message in context: http://www.nabble.com/unexpected-ExceptionInInitializerError-tf4771224.html#a13664305 Sent from the iBATIS - User - Java mailing list archive at Nabble.com.