今天用springbatch 读取csv 文件中有个字段值为“2017-05-18 15:24:09” 映射的对象中属性为Date型,项目运行过程中报错:Cannot convert value of type [java.lang.String] to required type [java.util.Date] for property 'chargingTime': no matching editors or conversion strategy found    终于找到解决方法:参考这里面的写法就没问题了  http://www.mkyong.com/spring-batch/how-to-convert-date-in-beanwrapperfieldsetmapper/

相关文章:

  • 2022-02-08
  • 2021-04-20
  • 2022-12-23
  • 2021-12-09
  • 2022-02-08
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-02-24
  • 2022-02-25
相关资源
相似解决方案