Components with Sightly ; Extension .html Not Rendering the Component | Community
Skip to main content
Level 4
October 16, 2015
Solved

Components with Sightly ; Extension .html Not Rendering the Component

I have a component in my code which uses sightly and  script has the extension as .html

So , script of the component would be like : componentName.html

When I try to render the component , I get the following information from the error.log : 

org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource Paragraph, path=/content/XXX/Par/Component

Same component is working fine on the Servers. I must be missing some settings / or component from Felix console not running. 

I see the similar issue for all Sightly component.

Any Suggestions I can try ? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
October 16, 2015

Hi,

the string "org.apache.sling.servlets.get.impl.DefaultGetServlet" indicates, that the DefaultGetServlet has taken over. This normally means, that you have a problem in the wiring resource to resourceType. So can you check that your resourceType property on the component node is correct?

kind regards,
Jörg

4 replies

smacdonald2008
Level 10
October 16, 2015

"Same component is working fine on the Servers"

When you say Servers - do you mean the AEM Pub server? 

Translate
joerghoh
joerghohAccepted solution
Employee
October 16, 2015

Hi,

the string "org.apache.sling.servlets.get.impl.DefaultGetServlet" indicates, that the DefaultGetServlet has taken over. This normally means, that you have a problem in the wiring resource to resourceType. So can you check that your resourceType property on the component node is correct?

kind regards,
Jörg

Translate
Level 4
October 16, 2015

Yes the resource type under the /content/... is a valid one and this is happening only for components with .html (Sightly) extension 

Translate
Level 4
October 16, 2015

smacdonald2008 wrote...

"Same component is working fine on the Servers"

When you say Servers - do you mean the AEM Pub server? 

 

 

Its working on all other Environments DEV , QA Etc.

I am getting this error on my localhost 

I am having this issue on Author instance 

Translate