问答详情
源自:2-1 第一个Quartz程序

系统执行报错

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.


提问者:被java耽误的愤青 2018-06-18 22:57

个回答

  • 翔仔
    2018-06-19 00:02:36

    应该是缺少一个jar包导致 slf4j-log4j12

  • 潇潇小饭
    2018-12-17 13:44:52

    <dependency>  2     <groupId>org.slf4j</groupId>  3     <artifactId>slf4j-nop</artifactId>  4     <version>1.7.2</version>  5 </dependency>


  • 冷眼看大千
    2018-10-23 14:00:04

    <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz -->

    <dependency>

    <groupId>org.quartz-scheduler</groupId>

    <artifactId>quartz</artifactId>

    <version>2.2.3</version>

    </dependency>

    <dependency>

      <groupId>org.slf4j</groupId>

      <artifactId>slf4j-log4j12</artifactId>

      <version>1.7.10</version>

    </dependency>

    <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz-jobs -->

    <dependency>

        <groupId>org.quartz-scheduler</groupId>

        <artifactId>quartz-jobs</artifactId>

        <version>2.3.0</version>

    </dependency>

    <!-- https://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jta_1.1_spec -->

    <dependency>

        <groupId>org.apache.geronimo.specs</groupId>

        <artifactId>geronimo-jta_1.1_spec</artifactId>

        <version>1.1.1</version>

    </dependency>


  • Coco大人
    2018-07-03 19:07:50

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>1.7.10</version>
    </dependency>