Getting error org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html | Community
Skip to main content
Level 2
August 19, 2015
Solved

Getting error org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html

  • August 19, 2015
  • 3 replies
  • 5221 views

19.08.2015 18:31:19.678 *ERROR* [0:0:0:0:0:0:0:1 [1440009079675] GET /etc/replication/agents.publish.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=cq:Page, superType=null, path=/content/asset-share-portal/en_us/errors

Any of the page is not opening and giving the error DefaultGetServlet 'No renderer for extension html'. Nothing was opening. We checked all content and pages were there..

Best answer by rohan_raj1

We finally tried looking into various service settings and found:

It happen due to settings in Apache Sling Resource Resolver Factory settings under Felix configMgr is tampered. We faced this issue and found that the setting for Resource Search Path is missing all entry. Verify the default entry should have following:

/aps

/libs

/apps/foundation/components/primary

/libs/foundation/components/primary

3 replies

rohan_raj1AuthorAccepted solution
Level 2
August 19, 2015

We finally tried looking into various service settings and found:

It happen due to settings in Apache Sling Resource Resolver Factory settings under Felix configMgr is tampered. We faced this issue and found that the setting for Resource Search Path is missing all entry. Verify the default entry should have following:

/aps

/libs

/apps/foundation/components/primary

/libs/foundation/components/primary

May 2, 2016

We have similar problem:

02.05.2016 16:22:29.536 *ERROR* [172.18.138.10 [1462198941448] GET /content/bla/bla/de.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/bla/bla/de/jcr:content/footer/morelinks/link_0_copy

We checked Apache Sling Resource Resolver Factory and found exactly the 4 entries mentioned above in the Resource Search Path.

More recommendations, how to solve this problem?

SwapnilSalam
February 25, 2020
@6886592 Did you check if your link_0_copy node has sling:resourceType property set?
August 7, 2016

I didn't find the solution for this issue but I'm not sure why Rohan's answer was marked as correct when it doesn't resolve the issue.

I went to

http://localhost:4502/system/console/configMgr

and confirmed that the above is already in the Apache Sling Resource Resolver Factory.

Has anyone came across a solution to this issue?