标签:style blog color java io for div log
org.hibernate.AnnotationException: No identifier specified for entity: net.mingyang.modules.system.ConfigGroup org.hibernate.cfg.InheritanceState.determineDefaultAccessType(InheritanceState.java:277) org.hibernate.cfg.InheritanceState.getElementsToProcess(InheritanceState.java:224) org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:775) org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3788) org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3742) org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1410) org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1844) org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1928) ......
原来是没有定义@Id。
Mingyang.net:No identifier specified for entity,布布扣,bubuko.com
Mingyang.net:No identifier specified for entity
标签:style blog color java io for div log
原文地址:http://www.cnblogs.com/eastson/p/3898572.html