내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Templates do not show up in AEM6.0

Avatar

Level 5

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?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

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 답변 개

Avatar

Level 10

what is your sling:resourceSuperType ?

Avatar

정확한 답변 작성자:
Level 10

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

Avatar

Level 5

sling:resourceSuperType is wcm/foundation/components/page

Avatar

Employee

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

Avatar

Level 3

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.