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
New Participant
January 6, 2022
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

  • January 6, 2022
  • 1 reply
  • 6496 views

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.
Best answer by Asutosh_Jena_

Hi @ariesyinn 

 

Please refer the below link for the similar issue and resolution!

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-org-apache-cxf-jaxws-spi-providerimpl-not-found-issue-in/td-p/403019

 

Thanks!

1 reply

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
January 6, 2022