Issue with Sling Servlet and Resource Types
I am deploying a Sling Servlet to AEM and would like to use resourceTypes, selectors, and extensions, but they're not working. Paths on the other hand, do work. Any idea what the issue is?
This works:
@SlingServlet(paths = {"/services/powerproxy/groups"}) public class GroupServlet extends SlingAllMethodsServlet {...}localhost:4502/services/powerproxy/groups result in a HTTP 200
This doesn't:
@SlingServlet(methods = {"GET"}, metatype = true, resourceTypes = {"services/powerproxy"}, selectors = {"groups"}) public class GroupServlet extends SlingAllMethodsServlet {...}localhost:4502/services/powerproxy/groups results in a HTTP 404
