InvalidDataAccessApiUsageException property ‘foo’ is required

Try calling the Spring method afterPropertiesSet()