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

Avatar

Avatar
Give Back
Level 1
ducpm196
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile

Avatar
Give Back
Level 1
ducpm196
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
ducpm196
Level 1

18-06-2021

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 7

18-06-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.

ducpm196
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