원인
- mapper id 가 틀린 경우.
- Parameter와 bean의 field 명이 틀린 경우
- sql.xml 에서 정의된 namespace와 DAO에서 호출하는 namespace가 다를 경우
- mapper가 정의가 되어 있지 않거나 Spelling 이 틀린 경우
- mapper에 정의 된 namespace 명칭이 같은 Application 내에 중복 될 경우
해결
mapper id가 중복되는 것들이 있어서 삭제해주었다.
https://starlmh.tistory.com/entry/Mybatis-%EC%97%90%EB%9F%AC