Issue with Hello world component | Community
Skip to main content
Level 6
May 28, 2022

Issue with Hello world component

  • May 28, 2022
  • 3 replies
  • 5673 views

Hi, 

I created a wknd spa react project with aem version=6.5.11 then after I deployed it to aem instance and in the template for the layout container policy I added helloworld component under allowed components tab, then after I tried to drag the component onto page its not displaying on the page console but in the crxde inside /content/project/page/root (i can see the helloworld component as added).

Can anyone help me, and also I observed some exceptions in logs like service factory return null, Felix start level issue after deploying project.

Is these affecting the helloworld component display on page.

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

3 replies

SantoshSai
Community Advisor
Community Advisor
May 28, 2022

Hi @vani1012 

As mentioned earlier, please check your WKND SPA React - Coreaem-guides-wknd-spa.react.core must be in Installed state under system console http://localhost:4502/system/console/bundles , (need to resolve dependencies which shows in red) check error and it should be in Active state - to make HellowWorld component functional.

Pre-assuming,
The SP11 is installed to the AEM server before deploying the code.
Java 11 is installed on your machine?

Hope that helps!

Regards,
Santosh

Santosh Sai
Vani1012Author
Level 6
May 30, 2022

Hi @santoshsai ,

Coreaem-guides-wknd-spa.react.core its in active mode only java 11 is there, sp11 is also there. 

MayurSatav
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 28, 2022

Hi @vani1012 ,

 

have you tried to debug your model?. Please create a custom log for your component and share the log.

Mayur Satav | www.mayursatav.in
sunil_kumar_
Level 5
May 29, 2022

Hi @vani1012,
Can you confirm if your page is loading. If yes, then check content tree.

Go to - Top left icon in page. once window expand, click on third icon. Do you see your component there. 

As React SPA rendered client side, Clear your browser cache. Some time it is cached.