how to rename nested classes in jaxb xjc
问题 I have a wsdl that imports a schema I am trying to resolve xjc naming multiple nested MyElementName classes with the same name - which doesn't compile I have created this binding file below but it gives the error: parsing a schema... compiling a schema... Exception in thread "main" java.lang.IllegalArgumentException: Illegal class inheritance loop. Outer class MyElementName1 may not subclass from inner class: MyElementName1 at com.sun.codemodel.internal.JDefinedClass._extends(JDefinedClass