zoukankan      html  css  js  c++  java
  • springboot引入mybatis-plus后出现ClassNotFoundException: org.mybatis.logging.LoggerFactory

    在引入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>-->
  • 相关阅读:
    C 扩展库
    访问nginx时验证密码
    关于redis闪退的案例
    查看进程的准确启动时间
    Ansible随笔8
    Ansible-随笔-7
    运维基本工作
    随笔-ansible-6
    随笔-ansible-5
    随笔-ansible-4
  • 原文地址:https://www.cnblogs.com/joequa/p/11801755.html
Copyright © 2011-2022 走看看