Getting NonExistingResource exception while using resourceresolver resolve method + Adobe 5.4
All,
Its a very confusing problem which i am facing. I have following path in cq dam:/content/dam/example/test/language. Inside this path i have json and zip files. In my code i am using resourceresolver.resolve and passing above path along with json file name. When i print the output of above method i get "NonExistingResource", but when i copy the same path on browser i am getting correct json file. Also using DAM i can navigate to that path without any issues. Also, i have few json files in parent folder i.e. in "test" folder which i am able to retreive successfully using resourceResolver.resolve method.
Does anyone faced this issue before? What can be probable cause for this? How do i resolve it?
Adobe CQ version 5.4
Regards,
Mayank