WKND tutorial - loading blank page

Avatar

Avatar
Boost 1
Level 1
hello-liana2
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
hello-liana2
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
hello-liana2
Level 1

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
Give Back 3
MVP
Manjunath_K
MVP

Likes

140 likes

Total Posts

188 posts

Correct reply

61 solutions
Top badges earned
Give Back 3
Give Back
Boost 50
Boost 5
Boost 3
View profile

Avatar
Give Back 3
MVP
Manjunath_K
MVP

Likes

140 likes

Total Posts

188 posts

Correct reply

61 solutions
Top badges earned
Give Back 3
Give Back
Boost 50
Boost 5
Boost 3
View profile
Manjunath_K
MVP

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
Boost 1
Level 1
hello-liana2
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
hello-liana2
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
hello-liana2
Level 1

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
Establish
MVP
santhosh_kumark
MVP

Likes

99 likes

Total Posts

111 posts

Correct reply

38 solutions
Top badges earned
Establish
Validate 1
Give Back 3
Give Back
Boost 50
View profile

Avatar
Establish
MVP
santhosh_kumark
MVP

Likes

99 likes

Total Posts

111 posts

Correct reply

38 solutions
Top badges earned
Establish
Validate 1
Give Back 3
Give Back
Boost 50
View profile
santhosh_kumark
MVP

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