1、错误信息

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

2、引入依赖

    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-simple</artifactId>
        <version>1.7.25</version>
<!--        <scope>test</scope>-->
    </dependency>

这样就可以打印完整的日志信息了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-01-31
  • 2021-10-28
  • 2022-02-05
  • 2021-08-16
猜你喜欢
  • 2021-05-13
  • 2021-09-18
  • 2022-02-25
  • 2021-08-06
  • 2021-10-12
  • 2021-12-31
相关资源
相似解决方案