Unsure of why a custom servlet is not being registered
Hello all,
I'm building out a custom servlet using the code found here: https://github.com/arunpatidar02/aem63app-repo/blob/master/java/SimpleGetGroup.java.
When I hit my localhost: localhost:4502/bin/get/groups, I receive this message: "Resource at '/bin/get/groups' not found: No resource found."
I noticed this line "LOG { 0 }: no servlet found" and I cannot find my servlet resolved under /system/console/configMgr or bundles or components. Testing under the Servlet Resolver Test with '/bin/get/groups' results in this as well: "The resource given by path '/bin/get/groups' does not exist. Therefore no resource type could be determined!"
I'm not sure what logs to check, error.log seems to be outputting the same info as well (I see "org.apache.sling.engine.imple.SlingRequestProcessImpl service: Resource /bin/get/groups not found."
Is there anything else I should check to see why my servlet's not resolving correctly? This is on an author instance as well.
Thank you!