求高手解决!! quartz 定时器初始化异常!!!

问题描述

解决方案二:

解决方案三:

解决方案四:

解决方案五:

解决方案六:

解决方案七:
配置代码:<beanid="methodInvokingJobDetail"class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"><propertyname="targetObject"><refbean="test"/></property><propertyname="targetMethod"><value>test</value></property></bean><beanid="cronTrigger"class="org.springframework.scheduling.quartz.CronTriggerBean"><propertyname="jobDetail"><refbean="methodInvokingJobDetail"/></property><propertyname="cronExpression"><value>006,12,20**?</value></property></bean><beanclass="org.springframework.scheduling.quartz.SchedulerFactoryBean"><propertyname="triggers"><list><reflocal="cronTrigger"/></list></property></bean>
解决方案八:

解决方案九:

解决方案十:

解决方案十一:

解决方案十二:

解决方案十三:

解决方案十四:
##出错位置<beanid="methodInvokingJobDetail"class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"><propertyname="targetObject"><refbean="test"/></property><propertyname="targetMethod"><value>test</value></property></bean>
解决方案十五:

解决方案:

解决方案:

解决方案:

解决方案:

解决方案:

解决方案:

解决方案:
错误信息2011-8-314:50:49org.apache.catalina.startup.HostConfigcheckResources信息:Reloadingcontext[/efax]2011-8-314:50:49org.apache.catalina.core.StandardContextstop信息:Containerorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/efax]hasnotbeenstartedERROR[ContextLoader:203]Contextinitializationfailedorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'methodInvokingJobDetail'definedinclasspathresource[beans.xml]:Invocationofinitmethodfailed;nestedexceptionisjava.lang.NoSuchMethodError:org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;Causedby:java.lang.NoSuchMethodError:org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;atorg.quartz.JobDetail.<init>(JobDetail.java:85)atorg.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet(MethodInvokingJobDetailFactoryBean.java:188)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)atcom.iskyinfo.core.container.WebContextLoaderListener$WebContextLoader.createWebApplicationContext(WebContextLoaderListener.java:94)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)atcom.iskyinfo.core.container.WebContextLoaderListener.contextInitialized(WebContextLoaderListener.java:34)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4252)atorg.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1170)atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1268)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:301)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)atorg.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)atjava.lang.Thread.run(Thread.java:595)ERROR[[/efax]:3799]Exceptionsendingcontextinitializedeventtolistenerinstanceofclasscom.iskyinfo.core.container.WebContextLoaderListenerorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'methodInvokingJobDetail'definedinclasspathresource[beans.xml]:Invocationofinitmethodfailed;nestedexceptionisjava.lang.NoSuchMethodError:org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;Causedby:java.lang.NoSuchMethodError:org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;atorg.quartz.JobDetail.<init>(JobDetail.java:85)atorg.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet(MethodInvokingJobDetailFactoryBean.java:188)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)atcom.iskyinfo.core.container.WebContextLoaderListener$WebContextLoader.createWebApplicationContext(WebContextLoaderListener.java:94)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)atcom.iskyinfo.core.container.WebContextLoaderListener.contextInitialized(WebContextLoaderListener.java:34)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4252)atorg.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1170)atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1268)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:301)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)atorg.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)atjava.lang.Thread.run(Thread.java:595)2011-8-314:50:58org.apache.catalina.core.StandardContextstart严重:ErrorlistenerStart2011-8-314:50:58org.apache.catalina.core.StandardContextstart严重:Context[/efax]startupfailedduetopreviouserrors2011-8-314:51:01org.apache.catalina.loader.WebappClassLoaderloadClass信息:Illegalaccess:thiswebapplicationinstancehasbeenstoppedalready.Couldnotloadjava.net.BindException.Theeventualfollowingstacktraceiscausedbyanerrorthrownfordebuggingpurposesaswellastoattempttoterminatethethreadwhichcausedtheillegalaccess,andhasnofunctionalimpact.java.lang.IllegalStateExceptionatorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1324)atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284)atjava.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)atcom.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:161)atcom.mysql.jdbc.Connection.createNewIO(Connection.java:2847)atcom.mysql.jdbc.Connection.<init>(Connection.java:1555)atcom.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)atcom.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81)atcom.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96)atcom.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89)atcom.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665)atcom.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32)atcom.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1206)atcom.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368)

时间: 2025-01-30 12:53:04

求高手解决!! quartz 定时器初始化异常!!!的相关文章

springmvc-SpringMVC整合hessian出现异常,求高手解决!!

问题描述 SpringMVC整合hessian出现异常,求高手解决!! 异常信息:严重: Servlet.service() for servlet spring threw exceptionjava.lang.ClassNotFoundException: com.caucho.hessian.client.HessianConnectionException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappCl

求高手解决:0xC0000005: 写入位置 0x00000064 时发生访问冲突

问题描述 求高手解决:0xC0000005: 写入位置 0x00000064 时发生访问冲突 typedef int (_stdcall*FUNA)(unsigned short Codechar* lpDataint lpDatalen);typedef int (_stdcall*FUNB)(char *lpBuf); const char * GetProtocol = ""GetProtocolData"";const char * GetReport =

class-为什莫总是提示 ThinkModel:relation方法不存在! 求高手解决

问题描述 为什莫总是提示 ThinkModel:relation方法不存在! 求高手解决 <?php namespace AdminModel; use ThinkModelRelationModel; class UserModel extends RelationModel { Protected $tableName = 'user';//定义主表名称 //定义关联关系 Protected $_link=array( 'role' =>array( 'mapping_type' =>

sybase启动时遇到的问题!!!!求高手解决,,,急急急!!! xp系统

问题描述 sybase启动时遇到的问题!!!!求高手解决,,,急急急!!! xp系统 00:00:00000:00000:2015/03/10 09:09:00.95 kernel SySAM: Using licenses from: D:sybasedbSYSAM-2_0licenses 00:00:00000:00000:2015/03/10 09:09:01.65 kernel SySAM: Checked out license for 2 ASE_CORE (2013.1231/pe

tomcat启动报错-空web工程启动tomcat为什么报错?求高手解决

问题描述 空web工程启动tomcat为什么报错?求高手解决 严重: StandardServer.await: create[localhost:8005]: java.net.BindException: Cannot assign requested address: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source)

.net-进入后台更新文件显示“Server Error in &amp;amp;#39;/&amp;amp;#39; Application”求高手解决

问题描述 进入后台更新文件显示"Server Error in '/' Application"求高手解决 ExecuteScalar requires an open and available Connection. The connection's current state: Broken. Description: An unhandled exception occurred during the execution of the current web request.

求高手解决C#编程,谢谢啊

问题描述 求高手解决C#编程,谢谢啊 namespace A { public class EnumTest { enum Days { saturday = 0, sunday, monday, tuesday, wednesday, thursday, friday, }; [FlagsAttribute] enum Colors { red, blue, yellow }; static void Main() { Type weekdays = typeof(Days); Console

html 网站 js-在一个文本框中输入一个数字时候前边自动加了一个1是怎么回事???求高手解决

问题描述 在一个文本框中输入一个数字时候前边自动加了一个1是怎么回事???求高手解决 比如输入一个"5"时,自动变成了"15",求高手解答,感激不尽~~~~~ 解决方案 很明显,加的这个1是字符串"1",一步一步向上推,你肯定有个代码变量在获取的值前+"1"; 解决方案二: 你可以在文本框值变更时检查它的值 断点仔细检查下代码 解决方案三: 输入5 变成15前面是不是有1接着的连接符?

C#线程池问题,求高手解决

问题描述 现有线程,有单个线程结束的事件,但是现在用到多个线程的使用,线程池是不是也有对应的结束事件?求高手解决.... 解决方案 解决方案二:System.Threading.WaitHandle.WaitAll等待所有线程结束,然后执行你的代码解决方案三:具体能给说清楚点么,第一次接触线程池