Unsatisfied dependency expressed through field 'dao'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.violet.persistence.ItemDAO' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@javax.inject.Inject()}



DAOImpl 구현 시 클래스 위에  @Repository 어노테이션을 빼먹어서 발생한 오류였다.

어노테이션을 제대로 작성하였는지 확인할 것!



+ Recent posts