![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 50
Spring
༺天苍苍野茫茫༻
这个作者很懒,什么都没留下…
展开
-
【Spring+Mybatis】 Invalid bound statement (not found): com.xxxx.mapper.UserMapper.selectUser
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxxx.mapper.UserMapper.selectUser 报错原因:mapper接口和mapper.xml文件没有映射起来 解决方法 第一种:mapper.xml中的namespace和实际的mapper文件不一致 第二种:mapper接口中的方法名和mapper.xml中的id标签不一致 第三种:Mapper..原创 2022-02-21 21:00:14 · 3835 阅读 · 2 评论 -
Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
Spring+Mybatis报错“”” Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 仅为警原创 2022-02-19 21:29:10 · 542 阅读 · 0 评论