解决org.apache.ibatis.reflection.ReflectionException

论坛 期权论坛 编程之家     
选择匿名的用户   2021-5-21 09:12   20   0

严重: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'created_time' in 'class com.smy.pojo.Users'] with root cause
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'created_time' in 'class com.smy.pojo.Users'

原因:实体的属性和传的值映射不一致。

解决办法:如下图,一一对应

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP