MybatisPlusとpageHelper依存衝突問題


mybatisPlusを使用している間にPageHelperページングを使用していたのですが、結果的に間違っていました
誤報
Caused by: java.lang.NoClassDefFoundError: org/mybatis/logging/LoggerFactory

ソリューション
1.pagehelper-spring-boot-starter関連を使用する必要がない場合は、pagehelper-spring-boot-starter依存を注釈します.
2.pagehelperのmybatis依存を削除すればよい.
 <dependency>
            <groupId>com.github.pagehelper</groupId>
            <artifactId>pagehelper-spring-boot-starter</artifactId>
            <version>1.2.5</version>
            <exclusions>
                <exclusion>
                    <groupId>org.mybatis</groupId>
                    <artifactId>mybatis</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.mybatis</groupId>
                    <artifactId>mybatis-spring</artifactId>
                </exclusion>
            </exclusions>
   </dependency>