阅读背景:

SpringMVC 日期参数转换报错问题最终解决方案

来源:互联网 

在用Springmvc的日期类型作为参数的时候,会碰到

 

org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type "
java.lang.String" to required type "java.util.Date"; nested exception is java.lang.
IllegalStateException:
 Cannot convert value of type [java.lang.String] to required type [java.util.Date]: 
no matchingeditors or conversion strategy found

对应不能绑定问题一般有下面几个办法:
一、Spring3的源码,稍微做了下修正:在Spring3的core包下找到org.springframewo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: