xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: I get a mysterious NoClassDefFoundError
Date Wed, 01 May 2002 21:08:04 GMT
L'eau wrote:
> -jar fop.jar -xml xmlfoRef.xml -xsl xml2pdf.xsl -pdf output.pdf
Using the -jar option forces the classpath defined in the
manifest in the jar, which contains relative path entries.
I belive the -cp setting is completely irrelevant in this

Replace "-jar fop.jar" by org.apache.fop.apps.Fop
or use
  java -jar fop.jar -xml...
in the directory where you installed FOP (the lib directory
with the jars should be a subdirectory).

A much better and easier way is to use the fop.bat or
fop.sh files from the distribution. Make sure the directory
where the files are stored is the current directory while
executing them.


View raw message