Hi Team,
I created project using below 21 archetype.
mvn archetype:generate \
-DarchetypeGroupId=com.adobe.granite.archetypes \
-DarchetypeArtifactId=aem-project-archetype \
-DarchetypeVersion=21
Experience Fragments are not working, it's giving following error, but it is working fine archetype20.
Error during include of component '/apps/isb/components/content/experiencefragment' Error Message:
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript:
Compilation errors in org/apache/sling/scripting/sightly/apps/core/wcm/components/experiencefragment/v1/experiencefragment/experiencefragment_html.java:
Line 41, column 1863 : com.adobe.cq.wcm.core.components.models.ExperienceFragment cannot be resolved to a type
What could be the reason and how to resolve this problem..?