【踩坑专栏】无法创建appender: Could not create an Appender of type [net.logstash.logback.appender...

发生这种错误是由于缺少logstash相关依赖,加入依赖即可:

        <!-- logback -->
        <dependency>
            <groupId>net.logstash.logback</groupId>
            <artifactId>logstash-logback-encoder</artifactId>
            <version>6.3</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
            <version>1.2.3</version>
        </dependency>
上一篇:【C++】银行存取款管理系统


下一篇:C语言使用popen循环调用lua产生很多僵尸进程