ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.win.m
Posted 明叶师兄。
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.win.m相关的知识,希望对你有一定的参考价值。
ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.win.mall.dao.CartMapper.test’. It’s likely that neither a Result Type nor a Result Map was specified.
原因:mybatis没有resultMap报错
- 在mapper文件的 select 标签中没有指定 resultType 或者 resultMap
以上是关于ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.win.m的主要内容,如果未能解决你的问题,请参考以下文章
MyBatis异常处理org.apache.ibatis.executor.ExecutorException
Cause: org.apache.ibatis.executor.ExecutorException: Error getting generated key or setting result t
mybatis-ehcache整合中出现的异常 ibatis处理器异常(executor.ExecutorException)解决方法
mybatis插入出现org.apache.ibatis.executor.ExecutorException: No setter found for the keyProperty 'xx