Hello,
I am trying to use saxon command line tool to
generate pdf. This is the command I typed in (from
Saxon\samples directory)
java com.icl.saxon.StyleSheet -a data\pdflist.xml
output.pdf
But I get an exception(see below). I have saxon.jar
and saxon-fop jar in my classpath.
What am I missing ?
Note:If I try to execute any other file without fop,
it works fine. I am able to generate html files.
Thanks for your help.
Mark
Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/fop/apps/F
OPException
at
java.lang.Class.getDeclaredConstructors0(Native
Method)
at
java.lang.Class.privateGetDeclaredConstructors(Unknown
Source)
at java.lang.Class.getConstructor0(Unknown
Source)
at java.lang.Class.newInstance0(Unknown
Source)
at java.lang.Class.newInstance(Unknown Source)
at
com.icl.saxon.Loader.getInstance(Loader.java:91)
at
com.icl.saxon.output.Emitter.makeEmitter(Emitter.java:206)
at
com.icl.saxon.output.GeneralOutputter.makeEmitter(GeneralOutputter.ja
va:243)
at
com.icl.saxon.output.GeneralOutputter.setOutputDestination(GeneralOut
putter.java:64)
at
com.icl.saxon.Controller.changeOutputDestination(Controller.java:405)
at
com.icl.saxon.Controller.transformDocument(Controller.java:1069)
at
com.icl.saxon.Controller.transform(Controller.java:946)
at
com.icl.saxon.StyleSheet.processFileAssoc(StyleSheet.java:447)
at
com.icl.saxon.StyleSheet.doMain(StyleSheet.java:303)
at com.icl.saxon.StyleSheet.main(StyleSheet.java:63)
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list