Agree with @mmoayyed. I commented above that httpClient and serviceManager need @NotNull annotations, which will be checked by CustomBeanValidationPostProcessor.