Added component scan to resolve issue where spring data jpa was null