首页 > 移动平台 > 详细

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.

时间:2020-09-26 18:44:58      阅读:35      评论:0      收藏:0      [点我收藏+]

 在使用mybatis时,查询信息时,出现了上述错误。

原因是在 <select> 标签中没有添加resultType或者resultMap属性,异常信息很明确的指出:像是没有指明Result Type或者Result Map

解决方法显而易见,添加resultType或者resultMap属性即可

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.

原文:https://www.cnblogs.com/xiao-lin-unit/p/13734419.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!