zoukankan      html  css  js  c++  java
  • 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,不刷新,

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

  • 相关阅读:
    bzoj 4007
    bzoj 2190
    bzoj 2186
    bzoj 2005
    bzoj 2721
    bzoj 1951
    CF919F
    CF1005F
    CF1019C
    bitset用法详解
  • 原文地址:https://www.cnblogs.com/ruhua1/p/14216362.html
Copyright © 2011-2022 走看看