You say that because you are getting something like
- Code: Select all
27.08.2010 12:40:23 *ERROR* SVGElementMapping: Error while initializing the Batik SVG extensions (SVGElementMapping.java, line 87)
java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor
at org.apache.fop.fo.extensions.svg.SVGElementMapping.initialize(SVGElementMapping.java:80)
at org.apache.fop.fo.ElementMapping.getTable(ElementMapping.java:54)
at org.apache.fop.fo.ElementMappingRegistry.addElementMapping(ElementMappingRegistry.java:118)
at org.apache.fop.fo.ElementMappingRegistry.addElementMapping(ElementMappingRegistry.java:97)
at org.apache.fop.fo.ElementMappingRegistry.setupDefaultMappings(ElementMappingRegistry.java:78)
at org.apache.fop.fo.ElementMappingRegistry.<init>(ElementMappingRegistry.java:65)
at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:149)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:172)
at org.docx4j.convert.out.pdf.viaXSLFO.Conversion.output(Conversion.java:235)
at org.docx4j.samples.CreatePdf.main(CreatePdf.java:109)
Caused by: java.lang.ClassNotFoundException: org.apache.batik.util.XMLResourceDescriptor
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 10 more
when you generate a PDF?
This is just a warning, and shouldn't cause any problems.