18
Spring Boot에서 @Repository 주석이 달린 인터페이스를 Autowire 할 수 없습니다.
저는 스프링 부트 애플리케이션을 개발 중이며 여기서 문제가 발생하고 있습니다. @Repository 주석이 달린 인터페이스를 주입하려고하는데 전혀 작동하지 않는 것 같습니다. 이 오류가 발생합니다. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springBootRunner': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.pharmacy.persistence.users.dao.UserEntityDao com.pharmacy.config.SpringBootRunner.userEntityDao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No …