Expand my Community achievements bar.

SOLVED

No renderer for extension html, cannot render resource MergedResource in SITE Pages AUTHOR and PUBLISHER

Avatar

Level 1

I am using AEM 6.5 Servicepack2.

We are getting this error in error.log , when we open any pages with editor.html in **Author**.

17.06.2020 08:03:30.656 ERROR [172.18.8.207 [1592395410151] GET /editor.html/content/tempProject/en/home/resources/tech-info.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet ***No renderer for extension html, cannot render resource MergedResource*** [path=/mnt/overlay/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_translation/granite:rendercondition, resources=[/apps/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_translation/granite:rendercondition]]
17.06.2020 08:03:30.657 ERROR [172.18.8.207 [1592395410151] GET /editor.html/content/tempProject/en/home/resources/tech-info.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource MergedResource [path=/mnt/overlay/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_tmupdate/granite:rendercondition, resources=[/apps/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_tmupdate/granite:rendercondition]]

**In Publisher :**
error.log.2020-06-13:13.06.2020 07:55:53.941 ERROR [172.18.8.207 [1592049353434] GET //content/tempProject/en/home/resources/tech-info.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet ***No renderer for extension html, cannot render resource JcrNodeResource,*** type=nt:unstructured, superType=null, path=/content/tempProject/en/home/resources/tech-info/jcr:content/par_content/heroimage_msm_moved_13
error.log.2020-06-13:13.06.2020 07:55:53.941 ERROR [172.18.8.207 [1592049353434] GET /content/tempProject/en/home/resources/tech-info.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=nt:unstructured, superType=null, path=/content/tempProject/en/home/resources/tech-info/jcr:content/par_content/richtexteditor_msm_moved_13

 

We have tried https://github.com/adobe/aem-core-wcm-components/issues/817 , https://issues.apache.org/jira/browse/FELIX-6184  but nothing worked for us.

Any suggestions how can we fix this?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@archanas1187003 

you need to configure Apache sling resource resolver factory just to remove .html extension from resource path.

also just create one sling:mapping configuration inside /etc/map/Http and put the following properties

 

sling:internalRedirect="/content/$1.html"

sling:match="/content/(.*)$"

 

I hope this will help...

Here is the useful blog just to resolve your query

http://aemcases.blogspot.com/2018/04/url-mapping-and-removing-html-extension.html

View solution in original post

4 Replies

Avatar

Community Advisor

@archanas1187003 

you need to configure Apache sling resource resolver factory just to remove .html extension from resource path.

also just create one sling:mapping configuration inside /etc/map/Http and put the following properties

sling:internalRedirect="/content/$1.html"
sling:match="/content/(.*)$"

 

I hope this will help...

Here is the useful blog just to resolve your query

https://docs.adobe.com/content/help/en/experience-manager-64/managing/managing-further-reference/seo...

http://aemcases.blogspot.com/2018/04/url-mapping-and-removing-html-extension.html

 

Avatar

Correct answer by
Community Advisor

@archanas1187003 

you need to configure Apache sling resource resolver factory just to remove .html extension from resource path.

also just create one sling:mapping configuration inside /etc/map/Http and put the following properties

 

sling:internalRedirect="/content/$1.html"

sling:match="/content/(.*)$"

 

I hope this will help...

Here is the useful blog just to resolve your query

http://aemcases.blogspot.com/2018/04/url-mapping-and-removing-html-extension.html

Avatar

Level 4

Hi @archanas1187003 

We had the same issue for one of our custom components and later realized that component without .html render file for a component causing this problem. for instance below, subscriptionlsit.html was not added (purposefully not added). After adding this render html file, stopped getting the error.

 

pradeepmoolemane_0-1653573008906.png