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.

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
上一篇:mysql数据库管理工具sqlyog在首选项里可以设置默认查询分页条数和字体,改写关键字大小写


下一篇:mybatis报错:A query was run and no Result Maps were found for the Mapped Statement、、Property [login_ip] not found on type [com.thinkgem.jeesite.common.permission.entity.PremissUser]问题解决