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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
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
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
Hi @archanas1187003,
Please check this https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/no-renderer-for-extension-...
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
Thanks!!
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.
Views
Like
Replies