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

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

属性名字不一致的错误,

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

 

技术分享图片

 

文章来自:https://www.cnblogs.com/weichenchq/p/8232671.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3