WKND tutorial - loading blank page

Avatar

Avatar

hello-liana2

Avatar

hello-liana2

hello-liana2

30-10-2020

Hi!

After creating the WKND tutorial project I am facing issues.

In http://localhost:4502/sites.html/content/wknd by selecting edit - page opens empty in the editor.

I am working with AEM 6.5

Apache Maven 3.6.3

Java version: 11.0.8

I would be really happy about every suggestion on how to fix this problem. 🙂Capture.PNGCapture2.PNGCapture3.PNG

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Manjunath_K

Avatar

Manjunath_K

Manjunath_K

30-10-2020

Hi @hello-liana2 

Have you deployed WKND project?

 

if not please deploy code by cloning the project from here https://github.com/adobe/aem-guides-wknd

If yes, please check "WKND Sites Project - Core" bundle status whether its in active status or not. if its not active check if there is any dependency error.

 

Hope this helps!

Answers (2)

Answers (2)

Avatar

Avatar

hello-liana2

Avatar

hello-liana2

hello-liana2

30-10-2020

Hello @Manjunath_K 

Thank you for your answer, it seems that it could be my problem reason.Capture.PNG

Do you have any suggestions on what to do with this kind of error?

Avatar

Avatar

santhosh_kumark

Avatar

santhosh_kumark

santhosh_kumark

30-10-2020

Hi @hello-liana2 ,

 

  1. If you are using JDK 11 with AEM 6.5 instance, some of the pages might display as blank after deploying some packages. The following error message displays in the log file:
*ERROR* [OsgiInstallerImpl] org.apache.sling.scripting.sightly bundle org.apache.sling.scripting.sightly:1.1.2.1_4_0 (558)[org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider(3345)] : Error during instantiation of the implementation object (java.lang.NoClassDefFoundError: jdk/internal/reflect/ConstructorAccessorImpl)
java.lang.NoClassDefFoundError: jdk/internal/reflect/ConstructorAccessorImpl

To resolve this error:
  • Stop the AEM instance. Go to <aem_server_path_on_server>crx-quickstart\conf and open the sling.properties file. Adobe recommends taking a backup of this file.
  • Search for org.osgi.framework.bootdelegation= . Add jdk.internal.reflect,jdk.internal.reflect.* properties to display the result as.
org.osgi.framework.bootdelegation=sun.*,com.sun.*,jdk.internal.reflect,jdk.internal.reflect.*

  • Save the file and restart the AEM instance.

     2. When you create the page component you need to include the Resource super type                 as wcm/foundation/components/page which is pointing to Page component otherwise you will see balnk.

 

     3. Alternatively, you can setup wknd code using this helpx article :https://helpx.adobe.com/in/experience-manager/kt/sites/using/getting-started-wknd-tutorial-develop/p...

 

Hope this helps!

 

Regards,

Santosh