BeanUtils No value specified for Date的解决方法

/**
* ConversionException: No value specified for Date的解决方法
*/
ConvertUtils.register(new DateConverter(null), java.util.Date.class);     //重点代码
BeanUtils.copyProperties(car2, car);

 

posted @ 2014-09-16 16:38  全新时代-小小程序员大梦想  阅读(1417)  评论(0编辑  收藏  举报