程序报错了

来源:-

闪电小子James

2017-06-29 13:36

SchedulerFactory sfact = new StdSchedulerFactory();  的时候,报:

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.



Scheduler scheduler = sfact.getScheduler();  报:

Exception in thread "main" org.quartz.SchedulerException: SchedulerPlugin class 'org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin' could not be instantiated. [See nested exception: java.lang.ClassNotFoundException: Unable to load class org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin by any known loaders.]

at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1039)

at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1525)

at com.imooc.demo.HelloQuartz.HelloScheduler.main(HelloScheduler.java:35)


写回答 关注

2回答

Java定时任务调度工具详解之Quartz篇

Java定时任务调度工具详解之Quartz篇

33592 学习 · 85 问题

查看课程

相似问题