解決org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null

来源:互联网 发布:mybatis动态sql详解 编辑:程序博客网 时间:2024/06/06 05:16
解決org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null

org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null 
[Seenested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null 
[See nestedexception: java.io.EOFException]]
这个错是因为jobdataMap的数据转化成blob字段时出错,
在quartz的文档中有推荐说jobdatamap都用string,可以避免此类错误
要做到限制全是string必须在quartz.properties中把org.quartz.jobStore.useProperties设成true
同时别忘了加对应数据库的org.quartz.jobStore.driverDelegateClass
//我的就是按照上面说的在quart.properties文件中加上
org.quartz.jobStore.useProperties = true后解决的问题
阅读全文
0 0
原创粉丝点击