I tried to use docx4j 3.3.5 in a NetBeans Plattform app. Since I do not know how to use Maven, I included the .jar files of most of the dependencies listed in the Docx4j_GettingStarted.pdf that comes in the zip folder (as Library Wrapper Module). When I opened a Word document, an error message told me, that com.google.common.collect.BiMap is missing. After adding this .jar file (without knowing what this framework does), the Word document seems to open fine with docx4j.
So did I make a mistake that BiMap was required, or is the list of dependencies below out-dated?
| \- commons-logging:commons-logging:jar:1.0.4
| \- xalan:serializer:jar:2.7.1
| \- antlr:antlr:jar:2.7.7
Talking about out-dated: The org.apache.avalon.framework has been closed (in 2004?). Is it indeed required? I did not include it, yet docx4j could at least open the document? The latest avalon-framework version I could find (link) is 4.1.5 as opposed to 4.3.1 given in the dependencies.