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

Avatar

Avatar

archanas1187003

Avatar

archanas1187003

archanas1187003

28-07-2020

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?

 

AEM 6.5 Service pack 2

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Suraj_Kamdi

MVP

Avatar

Suraj_Kamdi

MVP

Suraj_Kamdi
MVP

28-07-2020

@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

Answers (2)

Answers (2)

Avatar

Avatar

Suraj_Kamdi

MVP

Avatar

Suraj_Kamdi

MVP

Suraj_Kamdi
MVP

28-07-2020

@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