Hi,I would greatly appreciate your help with this problem.I can not find my Servlet created in the list of the link http://localhost:4502/system/console/components.Link: https://i.imgur.com/EcZjC0J.png
I understand, according to the response of @rakhi4110, that if my Servlet is correctly registered then I should see it there. But I do not understand why I can not visualize the created Servlet.Link: https://stackoverflow.com/questions/23162360/accessing-a-sling-servlet-in-cq5Link: https://i.imgur.com/G3mskwc.png
I attach the code of my Servlet.Link: https://i.imgur.com/tq3es30.png
Thank you very much for your time, greetings.
Could you please check servlet status in your bundle? Is it active, disabled or unsatisfied.
Are other servlet available in component console?
Hi, @Arun Patidar. Thanks for your help.
My bundle was not active due to an error with the imported packages. There was a red message that said "package Can not be resolved".What I did was verify the pom.xml of /myProject/core and I found an error with the jackrabbit-core package.
Link: https://i.imgur.com/Ck9KIsi.png https://i.imgur.com/huBjjZX.png
I uploaded my changes, checked the status of the bundle again and was already active.Link: https://i.imgur.com/huBjjZX.png https://i.imgur.com/s6Dkr8d.png
Then I looked for my Servlets and found them.Link: https://i.imgur.com/FqKPKLQ.png
Advice for those who are in a similar problem. There is no way that your Servlets can use if the Bundle is not in the Active state. If you see any "error" or "warning" message, it is best to correct them.Thank you!
Thank you for posting this information.