| Giovanni Lovato / Sergio Gonzalez, I did a bit more digging recently and I believe the defacto solution for JDK9+ when working with JAXB is to disable the use of package level annotations. When running XJC plugins, this is typically done using the -npa command line argument. In short, this forces the namespace attribute to be added to all JAXB annotations on each class rather than it being defined via the @XmlSchema annotation on package-info.java. Let me see if doing this actually solves the issue. |