Spring JPA not implementing/autowiring repository despite @EnableJpaRepositories annotation
问题 I'm getting an exception when I start my application, where Spring complain about UnsatisfiedDependencyException: Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationConfig': Unsatisfied dependency expressed through field 'controlRepository'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean found for dependency [com.oak.api.finance.repository