I think Constructor here is executing before the Injection is completed for the properties, hence no resource resolver is being injected. That's where @PostConstruct annotated method is useful when we want to utilize the injected objects in the processing.