出现此错误An association from the table refers to an unmapped class 出现此错误An association from the table refers to an unmapped class,怎么解决: 把Diaocha.hbm.xml文件路径加入到applicationContext.xml中,如下所展示: