mybatis
Cocowwy.
Good good study Day day up
展开
-
【已解决】MyBatis-Plus整合多数据源启动报错dynamic-datasource Please check the setting of primary
多数据源的配置可参考官网:MyBatis-Plus多数据源配置依赖: <!-- mybatis-plus依赖 --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4原创 2021-04-14 15:00:47 · 29232 阅读 · 0 评论 -
springboot+mybatis怎么集成使用pagehelper插件
学习之前要确保已经熟悉springboot的使用以及mybatis的使用:话不多上,先上依赖: <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.3</version>原创 2020-05-19 09:50:06 · 416 阅读 · 0 评论 -
报错:com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
在用Mybatis使用插件PageHelper的时候报错:Caused by: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor at org.apache.ibatis.builder.xml.XMLConfigBuilder.pluginElement(XMLConfigBuilder.java:188) ~[myb原创 2020-05-17 23:47:36 · 1619 阅读 · 1 评论