Quartz2.2.2启动报错

小番茄 发布于 2017/06/29 22:30
阅读 189
收藏 0

tomcat启动quartz2.2.2报错,以引入包:quartz-2.2.2.jar,quartz-jobs-2.2.2.jar

错误信息:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.fdauto.QuartzStdScheduler.createScheduler(QuartzStdScheduler.java:99)
    at com.fdauto.QuartzStdScheduler.<init>(QuartzStdScheduler.java:21)
    at com.fdauto.QuartzStdScheduler.getInstance(QuartzStdScheduler.java:32)
    at com.fdauto.ScheduleFilter.init(ScheduleFilter.java:31)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4828)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5508)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.quartz.SchedulerException: SchedulerPlugin class 'org.quartz.plugins.xml.JobInitializationPlugin' could not be instantiated. [See nested exception: java.lang.ClassNotFoundException: org.quartz.plugins.xml.JobInitializationPlugin]
    at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1039)
    at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1525)
    ... 20 more
Caused by: java.lang.ClassNotFoundException: org.quartz.plugins.xml.JobInitializationPlugin
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.quartz.simpl.InitThreadContextClassLoadHelper.loadClass(InitThreadContextClassLoadHelper.java:72)
    at org.quartz.simpl.CascadingClassLoadHelper.loadClass(CascadingClassLoadHelper.java:114)
    at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1036)
    ... 21 more

加载中
返回顶部
顶部