Getting error org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html | Community
Skip to main content
Level 2
Aug 19, 2015 7:59 PM UTC
Solved

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

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..

rohan_raj1Accepted solution
Level 2
Aug 19, 2015 8:02 PM UTC

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

4 replies

New Participant
Aug 7, 2016 4:14 PM UTC

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?

Translate
May 2, 2016 2:38 PM UTC

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?

Translate
SwapnilSalam
New Participant
Feb 25, 2020 12:49 PM UTC
@6886592 Did you check if your link_0_copy node has sling:resourceType property set?
Translate
rohan_raj1AuthorAccepted solution
Level 2
Aug 19, 2015 8:02 PM UTC

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

Translate