Type handler was null on parameter mapping for property ‘createTime’. It was either not specified and/or could not be found for the javaType (javax.xml.crypto.Data) : jdbcType (null) combination.
Error updating database. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘createTime’. It was either not specified and/or could not be found for the javaType (lombok.Data) : jdbcType (null) combination.
Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘createTime’. It was either not specified and/or could not be found for the javaType (lombok.Data) : jdbcType (null) combination.
原因是:在创建实体类的时候吧date类型写成data导致类型不匹配
此处总结:在写实体类时要注意一些类型的导包,不要导错
再尝试Mybatis 自动注入时间的时候出现的错误
解决 : 时间类型错了。 不可以使用 sql.Date 得使用 until.Date