Hi Team,
I'm using ExperienceFragmentsService in servlet but while calling the servlet, I'm getting 404 resource not found. Whenever I remove/comment the below declaration then the servlet is working fine. I'm using AEM6.5 version.
@reference
ExperienceFragmentsService experienceFragmentsService ;
Is there any other way to get this service to use it? Kindly help.
Best Regards,
AryA
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Dinu_Arya
Can you try creating instance using ExperienceFragmentsServiceFactory
Sharing sample code:
@Reference
ExperienceFragmentsServiceFactory experienceFragmentsServiceFactory;
ExperienceFragmentsService service=experienceFragmentsServiceFactory.getExperienceFragmentsService(resourceResolver);
Thanks
Dipti
Hi @Dinu_Arya
Can you try creating instance using ExperienceFragmentsServiceFactory
Sharing sample code:
@Reference
ExperienceFragmentsServiceFactory experienceFragmentsServiceFactory;
ExperienceFragmentsService service=experienceFragmentsServiceFactory.getExperienceFragmentsService(resourceResolver);
Thanks
Dipti
Views
Likes
Replies
Views
Likes
Replies