Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Project Creation using 21 archetype

shamks007
Level 2
Level 2

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..?

0 Replies