程序報(bào)錯(cuò)了
SchedulerFactory sfact = new StdSchedulerFactory(); ?的時(shí)候,報(bào):
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(); ?報(bào):
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)
2017-07-03
參考下這個(gè)鏈接 ?http://blog.csdn.net/sanfye/article/details/49204177?看看能否解決問(wèn)題
2018-07-16
我也碰到了這個(gè)問(wèn)題