java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.<init>(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) of | Community
Skip to main content
Level 3
Jan 6, 2022 10:25 AM UTC
Solved

java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.<init>(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) of

Hi all,

 

We just upgrade to AEM 6.5.0 from 6.2. we got  below error when we try to trigger the function.

 

java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.<init>(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) of the current class, com/sap/document/sap/soap/functions/mc_style/Service, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) for the method's defining class, javax/xml/ws/Service, have different Class objects for the type javax/xml/namespace/QName used in the signature

 

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Jan 6, 2022 11:47 AM UTC

1 reply

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Jan 6, 2022 11:47 AM UTC