Paul, I'm running ant 1.5.1 so in my ANT_HOME\lib there is ant.jar antrunnerlogger.jar optional.jar xercesImpl.jar xmlapis.jar
Also, I'm only running JDK 1.3.. Would like to get it running, is there a way to determine what classes are being used. Or any more thoughts on what it could be that is conflicting? Steve -----Original Message----- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 6:01 PM To: 'Steve Mactaggart '; 'Log4J Developers List ' Subject: RE: Chainsaw Target in latest Build File Groping in the dark here, but is this because of an incompatability with an XML parser in the anthome/lib AND JDK 1.4? What do you have in your ant_home\lib? You do have a valid point thought, both Ant and Chainsaw(log4) will require an XML parser. Definately sounds like a class loader style issue. cheers, Paul Smith -----Original Message----- From: Steve Mactaggart To: Log4J Developers List Sent: 7/1/03 3:14 PM Subject: RE: Chainsaw Target in latest Build File Jake, Using JDK 1.3.1 and my Classpath is empty. I'm using the classpath built from chainsaw. I was wondering if it built but didn't run. I was running it from within the ant task, which is the same call that compiled it. Steve -----Original Message----- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:03 PM To: Log4J Developers List Subject: Re: Chainsaw Target in latest Build File Note that NoClassDefFoundError is different from ClassNotFoundException. The latter is caused by the class not being there at runtime where the former is usually caused by class version issues. For instance, if you had an older version of the InputSource class in your classpath that didn't quite match the class definition of the one that Chainsaw was compiled with. Double check your classpath and make sure you don't have an obsolete jar there. Might want to mention your environment such as the JDK you are using as well. Jake At 02:47 PM 7/1/2003 +1000, you wrote: >Guys, > >Have been watching the current discussions in relation to 1.3 and the move >to chainsaw2. > >Have seen the screen shots for chainsaw2 and wanted to run it for myself. > >I have got the latest from cvs and it compiles fine, but when running I >get the following error. > > [java] java.lang.NoClassDefFoundError: org/xml/sax/InputSource > [java] at java.lang.Class.forName0(Native Method) > [java] at java.lang.Class.forName(Class.java:120) > [java] at > org.apache.log4j.chainsaw.FileLoadAction.<init>(Unknown Source) > >I thought that I'd let you guys know of this issue. >It seems to not include the XML jars needed to launch the app. > >Keep up the good work > >-------------------------------- >Steve Mactaggart >Systems Architect > >1300Ttimes >BH +61 (03) 9222 3310 >FAX +61 (03) 9620 7377 >EMAIL [EMAIL PROTECTED] >WEB www.1300Ttimes.com >-------------------------------- > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]