mybatis Table book.t_abmin not find

关于这个错误,我检查了我的的①mapper接口②mapper接口的mybatis配置文件③测试方法
④mysql数据库
在这里插入图片描述

但这些都是正确的,在加上book这各词很眼熟,最后终于想到,原来是配置文件的数据库连接中的url写错了,具体说是忘了更换了;
在这里插入图片描述

应该更换为:
jdbc.url=jdbc:mysql://localhost:3306/project_crowd?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT

猜你喜欢

转载自blog.csdn.net/wwwwwww31311/article/details/113763693