A query was run and no Result Maps were found for the Mapped Statement 'com.demo.dao.UserDao.check'. It's likely that neither a Result Type nor a Result Map was specified.

 

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.demo.dao.UserDao.check'. It's likely that neither a Result Type nor a Result Map was specified.


在这里插入图片描述
改为,这是因为没有写返回类型出错
在这里插入图片描述
修改后clean Tomcat;

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

在这里插入图片描述
修改如图配置,修改成功再次执行即可解决。

posted @ 2020-12-31 14:13  如花ya  阅读(202)  评论(0编辑  收藏  举报