关于myBatis:org.apache.ibatis.reflection.ReflectionException: There is no getter for property in实例类'
报错:Caused by: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'user_name' in 'class com.kushun.pojo.User'
注意:user_name 是个表字段,后面应该对应是属性值userName
属性值看实体类User里定义...
原创
2018-10-22 14:08:59 ·
13580 阅读 ·
2 评论