티스토리 뷰
728x90
반응형
Mapper interface의 메소드명과 sql,xml파일의 id명이 달라서 발생한 문제
위와같이 mapper 인터페이스가 있을때
위의 메소드명이
조회할 쿼리의 id와 동일하지않아 찾을수 없을때 발생하는에러
동일하게 해주면 해결된다
728x90
반응형
'Error > MyBatis' 카테고리의 다른 글
[MyBatis] Unknown column 'N' in 'field list' (0) | 2020.06.06 |
---|---|
[Mybatis] For input string : [ 1 == null ] (1) | 2019.11.17 |
[MyBatis] mybatis when, if절 test에 부등호 사용시 에러 (0) | 2019.06.16 |
[MyBaits] Parsing error was found in mapping (2) | 2019.06.15 |
[MyBatis] could not find parameter map (2) | 2019.05.30 |
댓글