I'm running version 8.2.8 and tried the local conversion by following the getting started guide.
I added the the dependencies:
- Code: Select all
// Docx4J
implementation 'org.docx4j:docx4j-core:8.2.8'
implementation 'org.docx4j:docx4j-openxml-objects:8.2.8'
implementation 'org.docx4j:docx4j-openxml-objects-pml:8.2.8'
implementation 'org.docx4j:docx4j-openxml-objects-sml:8.2.8'
// MOXy docx-JAXB Impl
implementation 'org.docx4j:docx4j-JAXB-MOXy:8.2.8'
implementation 'org.docx4j:docx4j-documents4j-local:8.2.8'
Docx4j itself works fine.. but PDF converting not at all.
The method Docx4J.pdfViaDocuments4jLocal(); internally looks for the class "org.docx4j.convert.out.documents4j.local.Documents4jLocalExporter" but this class is nowhere to be found in the class path. I also did not find another dependency on maven that is missing.
What dependency is missing? Where can i find it?
Kind regards
Lars