1.配了下spring-biz.xml,总是报错,
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodInvokingJobDetail' defined in class path resource [config/spring/spring-biz.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError:org.quartz.JobExecutionException
Caused by:
java.lang.NoClassDefFoundError: org.quartz.JobExecutionException
网上说只有spring不行,要增加quartz-all-1.6.0.jar
2.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodInvokingJobDetail' defined in class path resource [config/spring/spring-biz.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/SetUtils
Caused by:
java.lang.NoClassDefFoundError: org/apache/commons/collections/SetUtils
这个要增加commons-collections-3.1.jar
3.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean' defined in class path resource [config/spring/spring-biz.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
Caused by:
java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
增加jta.jar即可
相关文章
- 【Spring-boot-route(二十一)Quartz实现动态定时任务】
- Spring+Quartz实现定时任务的配置方法
- Spring3.2.4集成quartz2.2.1定时任务(demo).
- spring+quartz新增,删除,暂停,恢复定时任务
- Spring+Quartz实现定时任务配置方法
- 【转】Spring 整合 Quartz 实现动态定时任务
- Spring.Scheduling.Quartz 作业的应用(定时任务和循环触发任务)
- Spring 3整合Quartz 2实现手动设置定时任务:新增,修改,删除,暂停和恢复(附带源码)
- Spring集成Quartz定时任务框架介绍和Cron表达式详解
- Spring集成Quartz定时任务&&Cron表达式详解