Dear Ashwini,Resource Resolver can be retrieved from Resource Resolver Factory API[0], please change your implementation to@RefereceResourceResolverFactory factory; //, then you can use factory to retrieve ResourceResolver for your needs.[0] ResourceResolverFactory (Apache Sling 7 API)Regards,Peter