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.m】五陵年少金市东,银鞍白马渡春风。这篇文章主要讲述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

    推荐阅读