The full message is
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name \'userRepositoryUserDetailsSe
It seems you are using @EnableJpaRepositories to configure the database repository. It has two option load beans, the following one method you can use.
@EnableJpaRepositories
@EnableJpaRepositories(basePackages={"com.test.repo"})
or
@EnableJpaRepositories(basePackageClasses=TestRepo.class)