Failed to convert value of type ‘java.lang.String’ to required type ‘java.util.Date’
Failed to convert value of type ‘java.lang.String’ to required type ‘java.util.Date’1.传入的参数用String型的:String sdate,String fdate,2.在参数使用之前:String转日期型@RequestMapping(method = RequestMethod.POST, value = “/add.do”)public void add(String text,String sdate,
原创
2021-03-16 14:08:34 ·
373 阅读 ·
0 评论