Hi,I am new to AEM. I need a help, I am unable to get resource for a
path using event listener in AEM 6.5 . Though the session and
resourceResolver are working fine, resource is getting null when i do
resourceResolver.getResource(path). Can someone help me here. @Activate
public void activate(ComponentContext context) throws
NoSuchElementException,Exception { try { Map param = new
HashMap(); param.put(ResourceResolverFactory.SUBSERVICE,
"writeService"); resourceResolver =
resolverFactory.getServ...