![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
Hangele
苦逼的应届生,苦逼的程序猿
展开
-
Spring Boot2.X版本以上:Mybaits-plus与PageHelper插件依赖冲突问题解决
SpringBoot2.X版本以后使用的依赖:pagehelper-spring-boot-starter,2.x版本以前使用的是pagehelper而pagehelper-spring-boot-starter与Mybaits-plus有依赖冲突导致项目跑不起来解决办法排除掉相关冲突依赖即可,如下所示: <dependency> <groupId>com.github.pagehelper</groupId> .原创 2021-12-21 09:22:09 · 523 阅读 · 0 评论 -
Manual close is not allowed over a Spring managed SqlSession
每次应用关闭都会跑出如下异常,查了许多资料,解决办法是设置Spring创建Bean的模式,问题是初步解决的,具体原因却不怎么清楚: “java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession at org.mybatis.spring.SqlSes原创 2018-01-16 17:40:43 · 3776 阅读 · 1 评论