Association references unmapped class :

bug图示:

原因:

       翻译:联系外键的类没有找到

        这个错误发生在xxx.hbm.xml文件,我的原因是因为用myeclipse反转引擎自动生成,没有加入全限定类名

       

          这种不用写全限定类名,可以在包上加上包名,恰好我又没有!

        

   解决:

            

  结语:

             本着记录的bug,简单勿怪

原文地址:https://www.cnblogs.com/w-gao/p/7717661.html