No renderer for extension html, cannot render resource in sites page
Error 2:
*ERROR* GET /content/MyCompany/home/help.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource SyntheticResource, type=MyCompany/components/global/modal, path=/content/MyCompany/home/help/jcr:content/modal
I checked for all sling Resource types mismatch but everything looks fine.
for example:
i have a site MyCompany and the directory is like MyCompany-->home-->help-->contactUs.
http://localhost:4502/sites.html/content/MyCompany --> Error 1
http://localhost:4502/sites.html/content/MyCompany/home -> Error 1
http://localhost:4502/sites.html/content/MyCompany/home/help -->Error 1
http://localhost:4502/sites.html/content/MyCompany/home/help.html --> Error 2
Any help is appreciated.
Thanks in advance.