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中的字段是否一致
相关文章
- 10-02android中遇到ERROR: Could not find method clean() for arguments这个奇葩的错误如何解决!!
- 10-02关于struts2 Could not find action or result错误
- 10-02cmake 编译出现错误 Could NOT find Threads (missing: Threads_FOUND)
- 10-02Yarn 踩坑 : Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- 10-02openthread编译错误:error: could not find ctags
- 10-02解决 hive maPredue转换hivesql出错Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.a
- 10-02hadoop 3.1.1 Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- 10-02错误 qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in ““ 的解决方法
- 10-02IDEA启动报错could not find main class com/intellij/idea/main
- 10-02出现Could not initialize class net.sf.json.JsonConfig错误。解决方法如下: