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
BedrockMission!

Learn More

View all

Sign in to view all badges

Project Creation using 21 archetype

Avatar

Avatar
Ignite 1
Level 2
shamks007
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 2
shamks007
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
shamks007
Level 2

11-11-2019

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