问答详情
源自:-

程序报错了

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)


提问者:闪电小子James 2017-06-29 13:36

个回答