I am facing IllegalAnnotationsException while deploying ear on Weblogic server.
JDK; 1.8.31
Oracle Weblogic: 12.2.1
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 28 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "{http://www.example.com/oss/xml/tip/inv/model/1}entityEnvelope". Use @XmlType.name and @XmlType.namespace to assign different names to them.
But with the below JDK and Oracle Weblogic version, there is no IllegalAnnotationsException without any code change.
I am facing IllegalAnnotationsException while deploying ear on Weblogic server.
JDK; 1.8.31 Oracle Weblogic: 12.2.1
Caused by: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 28 counts of IllegalAnnotationExceptions Two classes have the same XML type name "{http://www.example.com/oss/xml/tip/inv/model/1}entityEnvelope". Use @XmlType.name and @XmlType.namespace to assign different names to them.
But with the below JDK and Oracle Weblogic version, there is no IllegalAnnotationsException without any code change.
JDK: 1.8.74 Oracle Weblogic: 12.1.0