在无任何报错的情况下 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>
posted @ 2019-04-24 20:46  我真的看不懂  阅读(7722)  评论(0编辑  收藏  举报