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.

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

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

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

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