mybatis3.4.5已经集成了对jdk8时间类的支持。
此版本以下需要增加依赖。建议升级到高版本。
Caused by: org.apache.ibatis.reflection.ReflectionException: Could not set property 'createTime' of 'class tk.mybatis.simple.model.SysUser' with value '2016-04-01 17:00:58.0' Cause: java.lang.IllegalArgumentException: argument type mismatch
在参数中指定javaType即可解决。如下: