美文网首页
java.lang.NoClassDefFoundError:

java.lang.NoClassDefFoundError:

作者: 一介书生独醉江湖 | 来源:发表于2022-05-17 16:43 被阅读0次
    # 抛异常:
    java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
    
    # pom.xml中引入logback相关依赖
    <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.7.25</version>
            </dependency>
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-core</artifactId>
                <version>1.1.11</version>
            </dependency>
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-classic</artifactId>
                <version>1.1.11</version>
            </dependency>
    

    相关文章

      网友评论

          本文标题:java.lang.NoClassDefFoundError:

          本文链接:https://www.haomeiwen.com/subject/zeuaurtx.html