Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2298329
  • 博文数量: 321
  • 博客积分: 3440
  • 博客等级: 中校
  • 技术积分: 2992
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-24 09:08
个人简介

我就在这里

文章分类

全部博文(321)

文章存档

2015年(9)

2014年(84)

2013年(101)

2012年(25)

2011年(29)

2010年(21)

2009年(6)

2008年(23)

2007年(23)

分类: Java

2013-03-21 09:07:31


Couldn't store job: Unable to serialize JobDataMap for insertion into database because the value of property 'FTPINFO' is not serializable

在配置文件中使用org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore做为配置参数时,一切正常,但当切换至

org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
数据库模式时,提示上面错误,FTPINFO这个是保存配置信息的一个class
原FtpInfo的声名:
public class FtpInfo {

修正为public class FtpInfo implements Serializable{
/**

*/
private static final long serialVersionUID = 1L;
致于为什么要实现Serializable,没有去查。

阅读(10820) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~