A query was run and no Result Maps were found for the Mapped Statement ...... 라는 오류가 발생했다.
쿼리(xml)에서 발생한 오류로,
나같은 경우는 select절에서 발생했다.
<select id=”aaaaaaa”>
select
…..
, .…
, ….
from a
</select>
에서 parameterType과 resultType을 안써줬기 때문에 발생한 오류였다.
(혹은 resultType이나 resultMap이 될 수도 있다….)
따라서
<select id=”aaaaaaa” patameterType=”java.util.Map” resultType=”egovMap”>
select
…..
, .…
, ….
from a
</select>
로 고쳐주어 오류 해결 완료.
'IT || 개발공부 > 개발오류' 카테고리의 다른 글
[eclipse] svn E155004 에러 svn locked 해제하는 법 (0) | 2023.09.19 |
---|---|
[eclipse] Unreachable catch block for InvalidDataException. This exception is never thrown from the try statement body (0) | 2023.08.30 |
댓글