org.springframework.beans.factory.NoSuchBeanDefinitionException

jun·2020년 12월 10일
0

Spring

목록 보기
1/1

No qualifying bean of type 'service' available: expected at least 1 bean which qualifies as autowire candidate. Dependency

**service interface를 implements 하는 클래스에서
어노테이션이 빠져있는지 확인해야 한다.

스프링으로 개발하다 보면 가끔씩 어노테이션을 빠뜨리게 되는데
@Autowired 어노테이션으로 IoC 컨테이너 안에 존재하는 Bean을 자동으로 주입한다.

profile
It's not over till it's over

0개의 댓글