springboot引入mybatis-plus后出现ClassNotFoundException: org.mybatis.logging.LoggerFactory

匿名 (未验证) 提交于 2019-12-03 00:17:01

在引入mybatis-plus之前,是存在mybatis的包和pagehelper包的,把这两个注释掉就可以了。

分页就使用mybatis-plus自带的IPage。

        <!-- SpringBoot集成mybatis框架 -->         <!--<dependency>-->             <!--<groupId>org.mybatis.spring.boot</groupId>-->             <!--<artifactId>mybatis-spring-boot-starter</artifactId>-->             <!--<version>${mybatis.spring.boot.starter.version}</version>-->         <!--</dependency>-->         <dependency>             <groupId>com.baomidou</groupId>             <artifactId>mybatis-plus-boot-starter</artifactId>             <version>3.2.0</version>         </dependency>                  <!-- pagehelper 分页插件 -->         <!--<dependency>-->             <!--<groupId>com.github.pagehelper</groupId>-->             <!--<artifactId>pagehelper-spring-boot-starter</artifactId>-->             <!--<version>${pagehelper.spring.boot.starter.version}</version>-->         <!--</dependency>-->

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!