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 Mon Aug 03, 2026 6:10 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 10234 • Total topics 2888 • Total members 2109