I am trying to reference a service into a servlet,but when I use
@Refernce annotation i am getting 404 not found exception even though my
service is registered properly. here is my code snippetNote: I am using
OSGI R6 Annotations in AEM 6.2Servlet:--------@Component(immediate =
true, service = Servlet.class, property = {
"sling.servlet.paths=/express/bin/getDynamicData",
"sling.servlet.extensions=json", "sling.servlet.methods=GET"
})@Designate(ocd=DynamicDataServlet.Configuration.class)public cl...