Re: new fopper's question
Vanessa, the classes in JAR will only be found if you run the batch file/command you quoted when you are in the directory in which fop is installed. Notice that the refs to the JAR files are relative paths, e.g. build\fop.jar etc... Chris From: Yu, Vanessa [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: new fopper's question Date: Thu, 20 Jun 2002 11:50:23 -0400 Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 All jars are in place. I wonder why it did not find org.apache.avalon.framework.logger.Logger, because it is in the jar. Thanks! Vanessa _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
RE: new fopper's question
I am running the bin version. when I run fop -d I got the same exception. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 20, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Re: new fopper's question Which version of fop (bin or src) are you talking about? Try -d option and show us the debug messages. Yu, Vanessa wrote: Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 All jars are in place. I wonder why it did not find org.apache.avalon.framework.logger.Logger, because it is in the jar. Thanks! Vanessa -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: new fopper's question
Sorry, but I cannot reproduce that, I have just downloaded fop0.20.4 bin, unpacked it and run fop.bat docs\examples\fo\table.fo -pdf table.pdf and it works ok on my NT4 box. Probably you have some classpath problem, but I'm not sure. Yu, Vanessa wrote: I am running the bin version. when I run fop -d I got the same exception. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 20, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Re: new fopper's question Which version of fop (bin or src) are you talking about? Try -d option and show us the debug messages. Yu, Vanessa wrote: Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 All jars are in place. I wonder why it did not find org.apache.avalon.framework.logger.Logger, because it is in the jar. Thanks! Vanessa -- Oleg Tkachenko Multiconn International Ltd, Israel