I have a code to generate word files in Java with IntelliJ idea using docx4j library which it work great in java 8 but when I did migrate to java 9 or 10 I get
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
that I can't get rid off I tried adding Moxy to library, class path but still the same exception. I looked in this similar problem but didn't work for me docx4j JXABException