Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field:

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type 



xml에는 bean값을 선언하지 않았는데 로직에는 @Autowired를 추가했을 때 발생하는 현상.

해결 방법은 로직에 @Autowired한 값이 xml에 있는지 확인해서 삭제 또는 추가 해준다.

+ Recent posts