에러메세지
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '~Service' is defined
문제
주로 Service 객체를 찾지 못하는 에러
원인
Resource명과 Service명 불일치 or Annotation 정의 안됨
Maven Build 오류 (위에 것이 안될 때 확인)
해결
~Impl.java 파일의 @Service("~Service")와 ~Controller.java의 @Resource(name="~Service") 확인
파일명 및 선언명 대소문자 구분 확인필요
잘보고갑니다~
-호치킨알바생-