I'm trying to convert a .docx to .pdf
When the method the code
- Code: Select all
Docx4J.toFO(foSettings, the, Docx4J.FLAG_EXPORT_PREFER_XSL);
java.lang.NoSuchMethodException: org.apache.fop.apps.FopFactory.newInstance ()
at java.lang.Class.getDeclaredMethod (Class.java:2130)
I am using all the libs from folder dependencies and optional/export-fo, as recommended.
In debug I realized that AbastractExporter in export method throws the exception when you try to get the path of fosettings. The method does not find the hasmap and when trying to access ...