AEM project site pages are resulting blank page view | Community
Skip to main content
Level 2
August 6, 2021

AEM project site pages are resulting blank page view

  • August 6, 2021
  • 3 replies
  • 10153 views

When i open any AEM project site page it resulting a blank page view, i had checked the view as published for the page then it shows me an error like this org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Compilation errors in org/apache/sling/scripting/sightly/apps/core/wcm/components/container/v1/container/container_html.java: Line 43, column 1900 : com.adobe.cq.wcm.core.components.models.LayoutContainer cannot be resolved to a type.
Then i removed the existing project setup from my local and created the new project setup again then i build the solution and it is success but still the page is blank .

I checked into bundles then i got to know that this below package is missing. The below screenshot is taken when i manually tried to installed the package into bundles and on doing this i got to see some errors in this package.

 

How to automatically gets installed this package into bundles? The core components package version currently i'm using is 2.14.0 and service pack is 6.5.8 . Can i know what was the root cause of it and by the way the default AEM site i.e. we-retail site is working perfect only can see issue with project sites.

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

3 replies

Prince_Shivhare
Community Advisor
Community Advisor
August 6, 2021
Level 2
August 6, 2021
yes, i installed it but in Bundles that EWCM package is not getting added/installed
arunpatidar
Community Advisor
Community Advisor
August 6, 2021

Hi,

You can check the core components dependecny in your project POM and adjust version which are availble in AEM instance.

Arun Patidar
Level 2
August 6, 2021

Hi
I had changed the version to 2.17.8 and solution is build success but in Bundles i couldn't find any EWCM package and  when i searched for 2.17.8 package in same bundles i couldn't find any such package, i can see some packages with version 2.3.2 . Is it taking 2.3.2 version ?  In package manager i could see core.wcm.components.content and core.wcm.components.config is having 2.17.8 version and core.wcm.components.examples is having 2.3.2.

 

Adobe Employee
August 9, 2021

Hi @swathialeti ,

 

Update your core component version using below link

https://github.com/adobe/aem-core-wcm-components/releases/

 

Install core.wcm.components.all-2.17.8.zip using crx/packmgr and let me know if you still face the issue

 

Hope this helps!!

 

Thanks

Level 2
August 9, 2021
Hi @bimmiso , Where should i suppose to add those lines ?