I am building a Java app that uses Apache FOP.
I downloaded the source from http://xmlgraphics.apache.org/fop/download.html
I tried creating an instance with
Fop fop;
fop = fopFactory.newFop(MimeConstants.MIME_PDF, out);
I received the error that MIME_PDF did not exist.
I neglected to include the xmlgraphics-commons jar that is in the build folder of the fop install.
These are the jar files I needed to include:
xmlgraphics-commons
avalon-framework
fop
Next, I received an error for any XSL files that used the ends-with xpath function. I needed two more jars from the fop build folder.
serializer
xalan
252 - Reflection
9 years ago
No comments:
Post a Comment