안녕하세요 G1N4입니다 :-)
[발생상황]
기능 추가를 위해 쿼리를 하나 더 추가하면서 만난 에러입니다.
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement '쿼리위치'. It's likely that neither a Result Type nor a Result Map was specified.
[해결완]
아래와 같이 쿼리에 resultType을 추가해주면 정상작동하므로 해피엔딩입니다.
<select id="selectAccount" resultType="java.lang.String">
SELECT
FROM
WHERE
</select>
그럼 다음 글에서 만나요 ;-)
[참조링크]
MyBatis-MyBatis로-조회할-때-Its-likely-that-neither-a-Result-Type-nor-a-Result-Map-was-specified
'Tech' 카테고리의 다른 글
Failed to load resource: the server responded with a status of 403 () (0) | 2023.05.17 |
---|---|
이클립스 소스창 세로줄 없애기 (0) | 2022.08.04 |
Uncaught (in promise) TypeError: callBack is not a function (0) | 2022.07.26 |
DataTables warning: table id=$("#tableName")- Requested unknown parameter (0) | 2022.07.20 |
DataTables warning: table id=$("#tableName")- Ajax error. (0) | 2022.07.06 |