错误信息
org.quartz.JobPersistenceException: Couldn't store trigger 'DEFAULT.MT_vqhsgkj1lrr8' for '????????????.????????????' job:The job (????????????.????????????) referenced by the trigger does not exist. [See nested exception: org.quartz.JobPersistenceException: The job (????????????.????????????) referenced by the trigger does not exist.]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:1223)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$4.executeVoid(JobStoreSupport.java:1159)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$VoidTransactionCallback.execute(JobStoreSupport.java:3715)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$VoidTransactionCallback.execute(JobStoreSupport.java:3713)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3799)
at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:1155)
at org.quartz.core.QuartzScheduler.triggerJob(QuartzScheduler.java:1187)
at org.quartz.impl.StdScheduler.triggerJob(StdScheduler.java:341)
at org.quartz.impl.StdScheduler.triggerJob(StdScheduler.java:331)
解决办法
查看定时任务是否存在,若不存在需要补充定时任务信息
SELECT * FROM qrtz_triggers WHERE trigger_name LIKE '%任务%';
SELECT * FROM qrtz_cron_triggers WHERE trigger_name LIKE '%任务%';
SELECT * FROM qrtz_job_details WHERE job_name LIKE '%任务%';