关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、3102411850 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 5124|回复: 1

单据自带的updateDate字段日期转换异常

[复制链接]
发表于 2017-5-8 16:04:06 | 显示全部楼层 |阅读模式
换成新数据库,保存的时候回提示该异常。
[org.jeecgframework.core.common.exception.GlobalExceptionResolver]全局处理异常捕获:
org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'eflRukuEntity' on field 'updateDate': rejected value [2017-05-05 13:03:06.71]; codes [typeMismatch.eflRukuEntity.updateDate,typeMismatch.updateDate,typeMismatch.java.util.Date,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [eflRukuEntity.updateDate,updateDate]; arguments []; default message [updateDate]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'updateDate'; nested exception is java.lang.IllegalArgumentException: Could not parse date, date format is error ]
       

发表于 2017-5-8 17:31:34 | 显示全部楼层
这是什么功能,详细描述下重现步骤
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表