Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

No renderer for extension html, cannot render resource in sites page

Avatar

Level 3
Error 1:

 

*ERROR* [10.141.70.150 [1439416237770GET /sites.html/content HTTP/1.1org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension htmlcannot render resource MergedResource [path=/mnt/overlay/wcm/core/content/sites/jcr:content/body/content/header/items/default/items/create/items/rep:policyresources=[Ljava.lang.String;@1adcb94c]

Error 2:

*ERRORGET /content/MyCompany/home/help.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource SyntheticResource, type=MyCompany/components/global/modal, path=/content/MyCompany/home/help/jcr:content/modal

 

I checked for all sling Resource types mismatch but everything looks fine.

for example: 

i have a site MyCompany and the directory is like MyCompany-->home-->help-->contactUs.

http://localhost:4502/sites.html/content/MyCompany --> Error 1

http://localhost:4502/sites.html/content/MyCompany/home  -> Error 1

http://localhost:4502/sites.html/content/MyCompany/home/help -->Error 1

http://localhost:4502/sites.html/content/MyCompany/home/help.html --> Error 2

 

 

Any help is appreciated.

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Please have some look at some reference links:-

Extension-less URL in AEM

Link:- http://www.citytechinc.com/us/en/blog/2013/04/extensionless-urls-in-adobe-experience-manager.html

Link:- http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html

Accessing all pages with .html (Mapping URL)

Link:- http://aem-cq-tutorials.blogspot.in/2014/06/mapping-of-request-urls-in-cqaem.html

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

Hi 

Please have some look at some reference links:-

Extension-less URL in AEM

Link:- http://www.citytechinc.com/us/en/blog/2013/04/extensionless-urls-in-adobe-experience-manager.html

Link:- http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html

Accessing all pages with .html (Mapping URL)

Link:- http://aem-cq-tutorials.blogspot.in/2014/06/mapping-of-request-urls-in-cqaem.html

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni