Caused by: org.hibernate.MappingException: Association references un地图ped class

Caused by: org.hibernate.MappingException: Association references unmapped class

Caused by: org.hibernate.MappingException: Association references unmapped class: xxx

at org.hibernate.cfg.HbmBinder.bindCollectionSecondPass(HbmBinder.java:2399)

 

原因:检查所有的*.hbm.xml配置文件中,配置xxx类的地方的class和name属性是完整的包路径。

 


我的异常网推荐解决方案:org.hibernate.MappingException: Association references unmapped class,http://www..net/j2ee/326371.html