I created project using below 21 archetype.
Experience Fragments are not working, it's giving following error, but it is working fine archetype20.
mvn archetype:generate \
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..?