求高手解答 java.lang.ClassCastException: org.quartz.simpl.SimpleThreadPool

问题描述

使用quartz的时候,启动程序就抛出如下异常,不知道问题出在那,求解决...严重:Spring容器初始化过程中出现异常[wrzs_core]org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'getScheduling':Invocationofinitmethodfailed;nestedexceptionisorg.quartz.SchedulerException:ThreadPoolclass'org.quartz.simpl.SimpleThreadPool'couldnotbeinstantiated.[Seenestedexception:java.lang.ClassCastException:org.quartz.simpl.SimpleThreadPool]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)atjava.security.AccessController.doPrivileged(NativeMethod)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)atorg.sotower.dm.spring.AppContextLoader$3.call(AppContextLoader.java:311)atorg.sotower.dm.spring.AppContextLoader$3.call(AppContextLoader.java:1)atjava.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)atjava.util.concurrent.FutureTask.run(FutureTask.java:123)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)atjava.lang.Thread.run(Thread.java:595)Causedby:org.quartz.SchedulerException:ThreadPoolclass'org.quartz.simpl.SimpleThreadPool'couldnotbeinstantiated.[Seenestedexception:java.lang.ClassCastException:org.quartz.simpl.SimpleThreadPool]atorg.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:768)atorg.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1371)atorg.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:575)atorg.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:451)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)...19moreCausedby:java.lang.ClassCastException:org.quartz.simpl.SimpleThreadPoolatorg.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:766)...24more2014-6-2510:46:11org.apache.catalina.core.ApplicationContextlog信息:应用系统全部加载完成

解决方案

解决方案二:
类型转换出错。Errorcreatingbeanwithname'getScheduling':Seenestedexception:java.lang.ClassCastException:org.quartz.simpl.SimpleThreadPool]

时间: 2024-11-05 14:48:38

求高手解答 java.lang.ClassCastException: org.quartz.simpl.SimpleThreadPool的相关文章

异常-求高手解惑java.lang.reflect.InvocationTargetException

问题描述 求高手解惑java.lang.reflect.InvocationTargetException 2015-06-24 09:23:35,527 ERROR [STDERR] java.lang.reflect.InvocationTargetException 2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-06-24

求高手解答 Java IBMMQ XML C++的具体原理和流程?

问题描述 我们做的项目前端是Java,但是把数据写到了xml里面,应用服务器有IBMMQ和C++的程序代码,其他的我就不太清楚了,我想问下高手这个过程是怎么实现的? 解决方案

用jbpm中报的java.lang.ClassCastException,求高手给个思路。。

问题描述 在做oa的时候遇到的问题,也可能是比较白的问题,但是就是找不到解决方法.求高手给个查错的方向..用断点查到的调用这边这个方法的时候报的异常.我和一个能正确运行的项目做过比较,甚至直接考过来把变量改成我得,还是报错.方法应该没错.//下一步的都有那些流向?publicListsearchNextTransitions(LongprocessInstanceId){JbpmContextcontext=this.getContext();//根据流程实例标识查找流程实例ProcessIns

java 调用windows api 问题 求高手解答

问题描述 用java调用windowsapi能否体现调用接口过程,能否查看数据在内存中变换过程???求高手解答!!!!

hibernate-Maven test一个Web项目,报错,弄了一天没弄好,求高手解答

问题描述 Maven test一个Web项目,报错,弄了一天没弄好,求高手解答 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultServletHandlerMapping' defined in class path resource [org/springframework/web/servlet/config/annotation/Delegating

java-openmeetings无法进入登录页面 页面报错Internal error 求高手解答

问题描述 openmeetings无法进入登录页面 页面报错Internal error 求高手解答 用的是apache-openmeetings-3.0.7 连接的是oracle 安装完成后访问一切正常,但是关掉red5 再次启动后 页面无法进入 页面报错:Internal error 后台报错信息为: ERROR 12-30 14:22:42.142 DefaultExceptionMapper.java 255077 170 org.apache.wicke t.DefaultExcept

spring 报错,求高手解答

问题描述 spring 报错,求高手解答 代码: package com.test.aop; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annota

javaee-weblogic启动报错,求高手解答!!

问题描述 weblogic启动报错,求高手解答!! product spec-version:null]: The encoding jsp-descriptor param has been deprecated. Consider declaring the encoding in th e jsp-config element (web.xml) or as a page directive (pageEncoding) instead.> java.lang.ExceptionInIni

char-java中参数传递变换的问题,求问:结果为什么是这样的啊??求高手解答!拜谢~

问题描述 java中参数传递变换的问题,求问:结果为什么是这样的啊??求高手解答!拜谢~ 求问:结果为什么是这样的啊?? change:Test change:g change:b change:c TestPram:Hello TestPram:g TestPram:b TestPram:c 代码如下: public class TestPram { String str = "Hello"; char[] ch = {'a','b','c'}; public static void