It is not obvious what is wrong in your invocation of fop. Everything looks
fine. So my guess is there is some silly mistake somwhere, like the name of
jar file etc.. you could try doing wierd things like putting the avalon jar
in front of classpath, or reducing the size of filename of jars etc.

if you're running this from a batch file, try setting the classpath first,
then running java fop... from the command line.

-----Original Message-----
From: Yu, Vanessa [mailto:[EMAIL PROTECTED]
Sent: June 20, 2002 1:29 PM
To: '[EMAIL PROTECTED]'
Subject: 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

Reply via email to