This example is a bit contrived; I\'ve simplified it to remove extraneous details and to focus on the problem I am having. I have a validator that looks like this:
Instead of creating a new validator, you have to autowire or inject it to controller. The NPE from the service not being injected as your validator is not being created/managed by spring.