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即可
相关文章
- 项目一:第十四天 1.在realm中动态授权 2.Shiro整合ehcache 缓存realm中授权信息 3.动态展示菜单数据 4.Quartz定时任务调度框架—Spring整合javamail发送邮件 5.基于poi实现分区导出
- Spring Boot与Quartz定时任务集成:深入指南
- Spring整合Quartz定时任务执行2次,Spring定时任务执行2次
- Spring Boot界面画管理Quartz定时任务及多线程并发执行定时任务
- quartz (二) Spring+Quartz实现定时任务的配置方法
- Spring+Quartz实现定时任务的配置方法(转)
- Spring+Quartz实现定时任务的配置方法(插曲)
- 170321、Spring+Quartz实现定时任务的配置方法
- Spring+quartz集群配置,Spring定时任务集群,quartz定时任务集群
- Spring+Quartz 实现定时任务的配置方法