A class/interface with the same name "x.y.z.class" is already in use. Use a class customization to resolve this conflict.
The issue is usually due to case-sensitivity error, where the same name for element and attribute issue (thru inheritance sometimes).
For case-sensitivity issues you can usexjc argument -XautoNameResolution
, maven version is <args><arg>-B-XautoNameResolution</arg></args>
.
When using external tools for code generation, specify the argument:
xjc argument -XautoNameResolution