스프링 오류2 [오류]Could not autowire field 123456789org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.zerock.test.BoardDAOTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private persistence.BoardDAO org.zerock.test.BoardDAOTest.dao; nested exception is org.springframework.beans.factory.NoSuch.. 2018. 8. 19. [오류]context:component-scan" is not bound [오류명] context:component-scan" is not bound 수정 방법1xmlns:context="http://www.springframework.org/schema/context"cs추가 참고 urlhttps://stackoverflow.com/questions/16673644/contextcomponent-scan-is-not-bound component-scan 요소classpath를 스캔하여 @annotation이 명시된 요소들을 스프링 빈으로 등록 2018. 8. 18. 이전 1 다음