mybatis plus 和PageHelper依赖冲突

 

引用PageHelper依赖时,去掉PageHelper的mybatis依赖

    <dependency>
            <groupId>com.github.pagehelper</groupId>
            <artifactId>pagehelper-spring-boot-starter</artifactId>
            <version>${pagehelper-boot-version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.mybatis</groupId>
                    <artifactId>mybatis</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.mybatis</groupId>
                    <artifactId>mybatis-spring</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

 

posted @ 2021-05-11 11:31  [浪子回头]  阅读(1797)  评论(1编辑  收藏  举报