GET /etc/clientcontext/default/content/jcr:content/stores.init.js libs.cq.personalization.components.clientcontextdesigner.parsys.init$js$jsp error while including a init file /etc/clientcontext/default/content/jcr:content/stores/cart | Community
Skip to main content
June 18, 2021

GET /etc/clientcontext/default/content/jcr:content/stores.init.js libs.cq.personalization.components.clientcontextdesigner.parsys.init$js$jsp error while including a init file /etc/clientcontext/default/content/jcr:content/stores/cart

  • June 18, 2021
  • 1 reply
  • 847 views

Has anyone had a similar problem? Please tell me how to solve it.
AEM 6.5 *ERROR* [10.243.254.107 [1623402348266] GET /etc/clientcontext/default/content/jcr:content/stores.init.js HTTP/1.1] libs.cq.personalization.components.clientcontextdesigner.parsys.init$js$jsp error while including a init file /etc/clientcontext/default/content/jcr:content/stores/cart org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation for class

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 18, 2021

Hi @ducpm196 ,

 

As per my wild guess, It happens when more then one JAR contains the same class in them. Can you please share more logs after this exception.

ducpm196Author
June 21, 2021
Full log: 20.06.2021 23:50:48.509 *ERROR* [10.243.254.101 [1624204248414] GET /etc/clientcontext/default/content/jcr:content/stores.init.js HTTP/1.1] libs.cq.personalization.components.clientcontextdesigner.parsys.init$js$jsp error while including a init file /etc/clientcontext/default/content/jcr:content/stores/cart org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation for class com.elasticpath.aem.commerce.impl.ElasticPathCommerceSessionImpl: when selecting overriding method com.elasticpath.aem.commerce.impl.ElasticPathCommerceSessionImpl.getCartPriceInfo(Lorg/apache/commons/collections/Predicate;)Ljava/util/List; the class loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @48f320db (instance of org.apache.felix.framework.BundleWiringImpl$BundleClassLoader, child of org.apache.sling.launchpad.base.shared.LauncherClassLoader @1da1380b org.apache.sling.launchpad.base.shared.LauncherClassLoader) of the selected method's type com.elasticpath.aem.commerce.impl.ElasticPathCommerceSessionImpl, and the class loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @3f8a8a03 (instance of org.apache.felix.framework.BundleWiringImpl$BundleClassLoader, child of org.apache.sling.launchpad.base.shared.LauncherClassLoader @1da1380b org.apache.sling.launchpad.base.shared.LauncherClassLoader) for its super type com.adobe.cq.commerce.common.AbstractJcrCommerceSession have different Class objects for the type org.apache.commons.collections.Predicate used in the signature