batik/fop question
At work I've been developing a little something using FOP and Batik to generate PDF reports on the fly, running on Tomcat server. On my box everything compiles and runs successfully, but of course on uploading it to our server something goes wrong. On the server side it compiles, but when actually generating the PDF the following error is returned :
It seems the servlet can't find the class, but batik.jar and fop.jar are both readable by the server in /var/tomcat4/webapps/ROOT/WEB-INF/lib and looking at the server logs shows that they have been loaded.
Searching google groups I found this post. This fellow seems to have the same issue, trouble is I can't understand the language that it's in.
Has anyone had a similar experience?
----- Root Cause -----
java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
at org.apache.fop.image.analyser.ImageReaderFactory.Make(Unknown Source)
at org.apache.fop.image.FopImageFactory.Make(Unknown Source)
at org.apache.fop.fo.flow.ExternalGraphic.layout(Unknown Source)
at org.apache.fop.fo.flow.Block.layout(Unknown Source)
at org.apache.fop.fo.flow.StaticContent.layout(Unknown Source)
at org.apache.fop.fo.pagination.PageSequence.layoutStaticContent(Unknown Source)
at org.apache.fop.fo.pagination.PageSequence.formatStaticContent(Unknown Source)
at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source)
... (there was more, but i don't believe it's important)
It seems the servlet can't find the class, but batik.jar and fop.jar are both readable by the server in /var/tomcat4/webapps/ROOT/WEB-INF/lib and looking at the server logs shows that they have been loaded.
Searching google groups I found this post. This fellow seems to have the same issue, trouble is I can't understand the language that it's in.
Has anyone had a similar experience?
