본문 바로가기

카테고리 없음

[spring, mybatis]Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'signInServiceImp' defined in file

잘 되다가 이런 에러가 날 때에는 mybatis에서 xml매핑파일이나 application.properties에서 쿼리의 반환타입을 나타내는 resultType 속성을 잘 확인하자. 이름이 클래스의 바뀌거나 위치하는 패키지가 바뀌었을 때 매퍼.xml, application.properties 파일은 그대로여서 DI에서 에러가 나는듯.