오류 원인: sqlSessionfactory와 Bean 생성에 실패했다.
오류해결과정: sqlSessionfactory의 버전 설정이 잘못됐는지 확인해봤지만, 버전 설정이 잘못되거나 빼먹지 않았다.
myBatis의 연동 문제는 아니였다.
문제해결: myBatis내의 설정이 잘못됐는지 myBatis-config를 살펴봤다.
그런데 alias의 명칭이 잘못 설정되어있는 걸 확인했다. alias명이 CustomerInquiryDto어야하는데, ReservInfoDto로 적혀었다. alias명을 바꿔주지 깔끔히 문제가 해결됐다.
'기혁씨의 삽질표류기' 카테고리의 다른 글
[mySql]Error Code: 1054 (0) | 2022.08.17 |
---|---|
[에러]BeanCreationException:RequestMappingHandlerMapping (0) | 2022.08.17 |
error code [1366]; Incorrect integer value (0) | 2022.08.15 |
You have an error in your SQL syntax; (0) | 2022.08.15 |
BeanInitializationException (0) | 2022.08.12 |