Could not find a getter for userState in class com.zj.entity.Users
2017-07-30 16:54
597 查看
可能原因如下:
1.没有写get方法或者get方法有错误,建议重新生成。(ps:我的就是get方法不对)
2.*.hmb.xml文件未配置好,注意路径是否正确
3.其他原因(欢迎补充)
1.没有写get方法或者get方法有错误,建议重新生成。(ps:我的就是get方法不对)
2.*.hmb.xml文件未配置好,注意路径是否正确
3.其他原因(欢迎补充)
相关文章推荐
- org.hibernate.PropertyNotFoundException: Could not find a getter for id in class com.pb.dao.UserDao
- 解决:ould not find a getter for porDate in class com.bc.bean.PortalSheet Caused by: org.hibernate.PropertyNotFoundException: Could
- org.hibernate.PropertyNotFoundException: Could not find a getter for employee in class com.itcast.f_hbm_oneToMany.Department
- org.hibernate.PropertyNotFoundException: Could not find a getter for titlse in class com.po.Intro异常
- org.hibernate.PropertyNotFoundException:could not find a getter for name in class ....
- could not find a getter for ... in class ... 异常的原因解析
- could not find a getter for ... in class ... 异常的解决
- org.hibernate.PropertyNotFoundException Could not find a getter for id in class
- Could not find a getter for salesName in class
- org.hibernate.PropertyNotFoundException: Could not find a getter for empDeptId in class
- could not find a getter for ... in class ... 异常的解决
- could not find a getter for ... in class ...
- could not find a getter for ... in class ... 异常的原因解析
- Unable to instantiate default tuplizer/Could not find a getter for orders in class
- could not find a getter for ... in class ... 异常的原因解析
- could not find a getter for ... in class ... 异常的原因解析
- nested exception is org.hibernate.PropertyNotFoundException: Could not find a getter for eNum in class
- could not find a getter for ... in class ...
- could not find a getter for ... in class ... 异常的原因解析
- hibernate出现:org.hibernate.PropertyNotFoundException: Could not find a getter for id in class