您的位置:首页 > 运维架构 > Apache

org.apache.ibatis.executor.ExecutorException:A query was run and no Result Maps were found for the M

2018-12-05 15:08 976 查看

Servlet.service() for servlet [dispatcherServlet] in context with path [/Maven-ssm] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.db.crud.dao.OrganizeMapper.organizeAll’. It’s likely that neither a Result Type nor a Result Map was specified.] with root cause
org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.db.crud.dao.OrganizeMapper.organizeAll’. It’s likely that neither a Result Type nor a Result Map was specified.

改为,这是因为没有写返回类型出错

修改后clean Tomcat;

修改完成后,项目还不能执行,可能是Tomcat,不刷新,


修改如图配置,修改成功再次执行即可解决。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐