Quartz Scheduler after delay; nested exception is org.quartz.SchedulerException:
2019-05-31 10:19:04.278 INFO 2832 --- [ restartedMain] org.quartz.core.QuartzScheduler : Scheduler RASScheduler_$_20160101-0008041559269139417 shutting down.
2019-05-31 10:19:04.278 INFO 2832 --- [ restartedMain] org.quartz.core.QuartzScheduler : Scheduler RASScheduler_$_20160101-0008041559269139417 paused.
2019-05-31 10:19:04.278 INFO 2832 --- [ restartedMain] org.quartz.core.QuartzScheduler : Scheduler RASScheduler_$_20160101-0008041559269139417 shutdown complete.
2019-05-31 10:19:04.291 INFO 2832 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2019-05-31 10:19:05.185 INFO 2832 --- [ [RASScheduler]] o.s.s.quartz.SchedulerFactoryBean : Starting Quartz Scheduler now, after delay of 1 seconds
Exception in thread "Quartz Scheduler [RASScheduler]" org.springframework.scheduling.SchedulingException: Could not start Quartz Scheduler after delay; nested exception is org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
at org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:727)
Caused by: org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:529)
at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
at org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:724)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
The Scheduler cannot be restarted after shutdown() has been called
关闭后不能再执行定时任务了