WLS 10.3: java.lang.LinkageError: loader constraint violation: when resolving interface method
(Doc ID 1233383.1)
Last updated on NOVEMBER 20, 2018
Applies to:Oracle WebLogic Server - Version 10.3.2 and later
Information in this document applies to any platform.
***Checked for relevance on 16-Nov-2012***
If you deploy an axis webservices application on OC4J application server, you will notice that it works fine. On migrating those webservices from OC4J to Oracle WebLogic 11g and on accessing the WSDL file of the webservice in Oracle WebLogic 11g server you will notice the below error:
Sorry, something seems to have gone wrong... here are the details:
Exception - java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.wsdl.Definition.getBinding(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Binding;"
the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader)
of the current class, org/apache/axis/wsdl/fromJava/Emitter, and the class loader
(instance of sun/misc/Launcher$AppClassLoader) for resolved class, javax/wsdl/Definition,
have different Class objects for the type javax/xml/namespace/QName used in the signature
Migrating applications from OC4J to WLS 11g.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document