Does the org.apache.avalon.framework.logger.Logger class exist in the Avalon jar?  Unjar it and check.

 

-----Original Message-----
From: Tammy Feichtel [mailto:[EMAIL PROTECTED]
Sent:
Thursday, March 20, 2003 11:34 AM
To: [EMAIL PROTECTED]
Subject: java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger

 

I need some help here.

 

I am trying to write a java app which uses the FOP libraries.  The classpath contains the following:

 

C:\j2sdk1.4.1\bin\javaw.exe -classpath C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\jsse.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.1\jre\lib\ext\classes12.zip;C:\Jakarta\FOP\fop-0.20.4\lib\avalon.jar;C:\Jakarta\FOP\fop-0.20.4\lib\batik.jar;C:\Jakarta\FOP\fop-0.20.4\lib\xml-apis.jar;C:\Jakarta\FOP\fop-0.20.4\build\fop.jar;C:\Jakarta\FOP\fop-0.20.4\lib\xercesImpl-2.0.1.jar;C:\Jakarta\FOP\fop-0.20.4\lib\xalan-2.3.1.jar CLStudyTest

 

However, when I try to create an instance of Driver or user the MessageHandler.setScreenLogger() function I get a

java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger error at runtime.  The code is compiling fine which means I have to have my classpath set correctly.

 

Any idea why I am getting this error at runtime? 

 

I am using FOP 0.20.4 and Java 1.4.1 (as you can see in the classpath). 

 

P.S.  Avalon.jar was renamed in one attempt to make sure the long filename was not an issue since I am running in Windows.

 

Thanks!

 

Tammy

 

 

 

This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message.

Reply via email to