错误:Could not find a getter for CreatTime in class

Posted 小手撬动地球

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误:Could not find a getter for CreatTime in class相关的知识,希望对你有一定的参考价值。

 org.hibernate.PropertyNotFoundException: Could not find a getter for CreatTime in class org.com.xk.hdjy.proj.nifty.domain.T_KITINFO
 at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:316)
 at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:310)
 at org.hibernate.mapping.Property.getGetter(Property.java:321)
 at org.hibernate.tuple.entity.PojoEntityTuplizer.buildPropertyGetter(PojoEntityTuplizer.java:436)
 at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:200)
 at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:82)
 
 原因:*.hbm.xml文件中的字段和domain中的字段不一致.
 方法:检查*.hbm.xml文件中的property属性和domain中的字段是否一致

以上是关于错误:Could not find a getter for CreatTime in class的主要内容,如果未能解决你的问题,请参考以下文章

错误记录Python 安装依赖库报错 ( ERROR: Could not find a version that satisfies the requirement elftools )

ember中Could not find module `ember` imported from `mgapp/app问题解决

iOS-Could not find Developer Disk Image

iOS-Could not find Developer Disk Image

Borland c++ build 6编译出错Could not find a match for OpenArray<TVarRec>::OpenArray

python通过pip安装torch错误及解决办法ERROR: Could not find a version that satisfies the requirement torch