java.lang.NoClassDefFoundError: Could not initialize class xxx.xxx.xxx.HibernateUtil

前端 未结 5 2107
失恋的感觉
失恋的感觉 2020-12-19 12:31

Herewith I added my source code of web.xml




        
5条回答
  •  春和景丽
    2020-12-19 13:06

    In the HibernateUtils, there is reference for the "/hibernate.cfg.xml" file. In which we have to add the hbm.xml mapping. also confirm that mapping file present in the resource file.

提交回复
热议问题