Templates do not show up in AEM6.0 | Community
Skip to main content
Level 4
October 16, 2015
Solved

Templates do not show up in AEM6.0

  • October 16, 2015
  • 5 replies
  • 2224 views

I have created a simple template which refers to a html page.

I have parsys included in the html page.page is quite simple

<!DOCTYPE html>

<div data-sly-include="head.html"></div>
hiiiii

<div data-sly-resource ="${@path='par', resourceType='wcm/foundation/components/parsys'}"></div>

However when opened in a browser, it gives a blank page and logs say 

"01.04.2015 15:38:40.446 *ERROR* [0:0:0:0:0:0:0:1 [1427882920251] GET /content/sitemap_trials.html HTTP/1.1] com.adobe.cq.sightly.WCMScriptHelper Failed to include script head.html
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: No use provider could resolve identifier: libs.granite.sightly.templates.ClientLibUseObject

"

Once encountered this keeps happening for all my templates even if I restart the instance.

 

Could anyone help?

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 Lokesh_Shivalingaiah

sling:resourceSuperType should be 'wcm/foundation/components/page' instead of '/foundation/components/page'

Refer them for more Sightly topics/help

http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html

https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

5 replies

Lokesh_Shivalingaiah
Level 10
October 16, 2015

what is your sling:resourceSuperType ?

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

sling:resourceSuperType should be 'wcm/foundation/components/page' instead of '/foundation/components/page'

Refer them for more Sightly topics/help

http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html

https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

asn11Author
Level 4
October 16, 2015

sling:resourceSuperType is wcm/foundation/components/page

Adobe Employee
October 16, 2015

can you copy the head.js ,stats.js and initwcm.js to your page component and see?

Balu_M
Level 3
April 25, 2017

Hi,

I am getting same issue, when i have opened my page it is showing empty screen. Can you please help me how to resolve this issue.

I gave sling:resourceSuperType is wcm/foundation/components/page

 

Thanks,

Balu.