在无任何报错的情况下 pagehelper.startpage分页无效问题

问题原因:自从spring boot开始使用2.0x版本以上后,很多相应的依赖文件版本开始变化

该版本为spring-boot 1.4.1

        <dependency>
            <groupId>com.github.pagehelper</groupId>
            <artifactId>pagehelper</artifactId>
            <version>4.1.0</version>
        </dependency>

切换成对应的2.0的版本即可

        <dependency>
            <groupId>com.github.pagehelper</groupId>
            <artifactId>pagehelper-spring-boot-starter</artifactId>
            <version>1.2.5</version>
        </dependency>
原文地址:https://www.cnblogs.com/LiangPF/p/10764852.html