Annotation processors and the --processor-module-path

Alex Buckley alex.buckley at oracle.com
Wed Jan 30 19:26:18 UTC 2019


On 1/30/2019 9:40 AM, cowwoc wrote:
> Seeing as `--add-modules=java.xml.bind` no longer works in Java 11 what is
> the updated recommendation?

The Java SE Platform no longer includes JAXB. JEP 320 discusses where to 
find standalone versions of JAXB (http://openjdk.java.net/jeps/320).

StackOverflow also has a question on this topic, with many suggestions 
and more than 250,000 views 
(https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j).

Alex


More information about the jigsaw-dev mailing list