logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <Paul.Sm...@lawlex.com.au>
Subject RE: Chainsaw Target in latest Build File
Date Tue, 01 Jul 2003 08:00:33 GMT
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:hoju@visi.com]
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 smactaggart@1300Ttimes.com
>WEB   www.1300Ttimes.com
>--------------------------------
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message