AEM and ReactJS GitHub Demo | Community
Skip to main content
ariellea4070516
Level 3
December 26, 2018
Solved

AEM and ReactJS GitHub Demo

  • December 26, 2018
  • 4 replies
  • 2751 views

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!

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 edubey

I am assuming you are on aem 6.4 with sp2

which is the required setup for this project to be used.

4 replies

edubey
Level 10
December 26, 2018

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?

ariellea4070516
Level 3
December 26, 2018

Looks like there is a missing dependency:

day/cq60/product:cq-ui-wcm-editor-content:(1.0.138,)

edubey
edubeyAccepted solution
Level 10
December 26, 2018

I am assuming you are on aem 6.4 with sp2

which is the required setup for this project to be used.

ariellea4070516
Level 3
December 26, 2018

Thanks edubey​. That was the issue. I installed SP3 and it works on that as well.