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




Reply via email to