I am trying to initialize the GitHub We.Retail ReactJS demo project to experiment with a working example of this integration. I am getting the following error and having issues resolving it:
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.scripting.sightly.SightlyException: Compilation errors in org/apache/sling/scripting/sightly/apps/we__002d__retail__002d__journal/react/components/structure/page/customheaderlibs_html.java:
Line 28, column 1305 : Only a type can be imported. com.adobe.cq.sample.spa.journal.models.HierarchyPage resolves to a package
Line 65, column 2961 : HierarchyPage cannot be resolved to a type
Does anyone know how to resolve this issue?
Thanks in advance!
Solved! Go to Solution.
Views
Replies
Total Likes
I am assuming you are on aem 6.4 with sp2
which is the required setup for this project to be used.
If you are referring to the project https://github.com/adobe/aem-sample-we-retail-journal
I havent seen any issue ( aem 6.4 + sp2)
What I am wondering is your bundles are not in active state for we.retail journal, can you double check them?
Views
Replies
Total Likes
Looks like there is a missing dependency:
day/cq60/product:cq-ui-wcm-editor-content:(1.0.138,)
Views
Replies
Total Likes
I am assuming you are on aem 6.4 with sp2
which is the required setup for this project to be used.
Thanks edubey. That was the issue. I installed SP3 and it works on that as well.
Views
Replies
Total Likes