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的配置文件中所配置的属性和实体类中的属性名不一致。

 

 

posted @ 2018-01-07 22:38  微尘chq  阅读(1371)  评论(0编辑  收藏  举报