Sling Models
Hi Everyone,
When I am trying to add one custom component to a page, I get a SlingException error:
Error :
org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.scripting.sightly.SightlyException: Identifier com.mentor.core.core.models.DemoAnnotations cannot be correctly instantiated by the Use API
Have tried different things to fix it, but unable to figure out.
Can anyone provide solution on this error?