Hi Yadav,I am using the same line of code in both the classes . Only difference is usertest is a servlet class and SearchService is a normal java class and calling a addproperty() method from slightly.Map<String, Object> param = new HashMap<>();param.put(ResourceResolverFactory.SUBSERVICE,"systemUse...