Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument;
nested exception is org.springframework.beans.factory.BeanCreationException:



이 오류는 mybatis-config에서 경로를 잘못 지정했을 경우 발생하는 문제입니다.


해결 방법은 mybatis-config에서 <typeAliases>를 처리했을 경우 그 속의 패키지 명을 정확하게 입력하면 된다.

+ Recent posts