红色问题,黑色解决方法。个人记录
首先是发现Feign无法注入,添加路径后解决 @EnableFeignClients("接口所在的路径")
但加入后跟mybatisplus3.2的分页产生了冲突,导致分页失效。
最后想到了用pagehelper做分页
结果 pagehelper 跟mybatisplus3.2 也发生了冲突
下面这个是解决 pagehelper 跟mybatisplus3.2冲突的,下面记录了下,详情可以去这个网址看
https://blog.csdn.net/u012280292/article/details/99678037
pom.xml
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.1.10</version>
</dependency>
<!-- pagehelper 依赖 -->
<dependency>
<groupId>com.github.jsqlparser</groupId>
<artifactId>jsqlparser</artifactId>
<version>2.

本文介绍了解决Feign与MyBatis Plus在Spring Boot项目中冲突的方法,并详细记录了使用PageHelper实现分页功能的过程及解决PageHelper与MyBatis Plus冲突的具体步骤。
最低0.47元/天 解锁文章
2635

被折叠的 条评论
为什么被折叠?



