IT/스프링(Spring)
[스프링/Spring] 스프링(Spring) No qualifying bean of type 'com.util.TestServiceUtil' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(requir..
이 문제는 Bean을 생성하면서, 제대로 Bean을 생성하지 못해 발생하는 에러 메시지다. No qualifying bean of type 'com.util.TestServiceUtil' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 위의 문제는 아래와 같이 설정을 했을 때 거의 나올 것이다. public class TestApiService extends TestService { @Autowired private Test2Service test2..
2022. 7. 20.
최근댓글