Hi,
For a docx4j generated word document , some of my MS word users are getting "No table of contents entries found." while for others including me, it works fine. Could you please help why that would be the case, attaching the document.
Thanks
It is currently Thu Sep 17, 2026 8:12 pm
News of docx4jjava.util.concurrent.ExecutionException:java.lang.NoClassDefFoundError: org/apache/james/mime4j/parser/ContentHandler ByteArrayOutputStream output = null;
InputStream templateInputStream = new ByteArrayInputStream(docxBytes);
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(templateInputStream);
output = new ByteArrayOutputStream();
Docx4J.toPDF(wordMLPackage, output);java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: org.docx4j.fonts.fop.apps.FOPException: java.io.FileNotFoundException: .docx4j (Permission denied)
java.io.FileNotFoundException: .docx4j (Permission denied) [in ...
Total posts 10255 • Total topics 2893 • Total members 2109