您好,欢迎来到画鸵萌宠网。
搜索
您的当前位置:首页Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for pr...

Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for pr...

来源:画鸵萌宠网

实体类上加注解报错Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'startTime'; nested exception is org.springframework.core.convert.ConversionFailedException: 

只要引入jar就可以了

<dependency>
    <groupId>joda-time</groupId>
    <artifactId>joda-time</artifactId>
    <version>2.3</version>
</dependency>

 

转载于:https://www.cnblogs.com/zhengyuanyuan/p/10709877.html

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo8.com 版权所有 湘ICP备2023022238号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务