✅ 오류
→ Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException
✅ 문제원인
→ 주요 원인
- mapper id가 틀린 경우
- Parameter bean의 field 명이 틀린 경우
- sql.xml에서 정의된 namespace와 DAO에서 호출하는 namespace가 다를 경우
- mapper가 정의되어 있지 않거나 스펠링이 틀린 경우
- mapper에 정의된 namespace 명칭이 같은 application 내에 중복 될 경우
✅ 해결방법
→ id 오타,,