Closed silvanopessoa closed 8 years ago
Note that the schemaLocation path must point to the XSD file relative to the xjb file. Hence, your global.xjb file should contain an attribute called schemaLocation working like the following:
<jxb:bindings schemaLocation="../xsd/address.xsd" node="//xsd:schema">
<jxb:schemaBindings>
<jxb:package name="com.example.myschema"/>
</jxb:schemaBindings>
</jxb:bindings>
jaxb2-maven-plugin
can't load global.xjb