Caused by: org.hibernate.property.access.spi.PropertyAccessBuildingException: Could not locate getter for property named [pers.chq.entity.Customer#custLevel]

时间:2018-01-08 00:04:15   收藏:0   阅读:2742

 Could not locate getter for property named [pers.chq.entity.Customer#custLevel]

属性名字不一致的错误,

原因:在hibernate的配置文件中所配置的属性和实体类中的属性名不一致。

 

技术分享图片

 

原文:https://www.cnblogs.com/weichenchq/p/8232671.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!