本文主要是介绍项目启动时报定时任务错误——工作笔记,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
测试同学为了图方便把多个项目丢到一个tomcat的webapps目录下启动,有的项目启动成功有一个项目报了如下错误:
Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn’t retrieve trigger: No record found for selection of Trigger with key: ‘DEFAULT.XXXCronTrigger’ and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = ‘XXX’ AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [See nested exception: java.lang.IllegalStateException: No record found for selection of Trigger with key: ‘DEFAULT.XXXCronTrigger’ and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = ‘XXX’ AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ?]
Caused by: org.quartz.JobPersistenceException: Couldn’t retrieve trigger: No record found for selection of Trigger with key: ‘DEFAULT.XXXCronTrigger’ and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = ‘XXX’ AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? [See nested exception: java.lang.IllegalStateExc
这篇关于项目启动时报定时任务错误——工作笔记的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!