OSGI Servlet not found when I hit the servlet path
Hi All,
I'm just replacing the felix annotations with OSGi DS annotations for my servlet and I could able to build the project success. Once I deploy the bundle and hit the servlet path I'm getting 404 response in the page and the error log I'm getting this org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /bin/custom/sample not found.
Thing I have tried:
- Tried with uber 6.3.0, 6.4.0 & 6.4.1
- tried with Maven-bundle-plugin version 3.2.0 & 3.3.0
I checked my servlet is active and I'm having the required entries in pom.xml. But when I compared the servlet which is used Felix and OSGI annotation I could not see the Reference package in OSGI servlet. Below are the screen shot of felix & OSGi servlet. Further what I should check? Appreciate your help.
Felix Servlet:

OSGI Servlet:

Regards,
Vijay