If you are using AEM 6.3, then felix annotations have to be substituted by OSGI annotations.@SlingServlet is not allowed anymore, I am not sure how can you access the servlet from one of the bundles.See SlingServlet Annotation here at the link Official OSGi Declarative Services Annotations in AEM - ...