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

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

Herewith I added my source code of web.xml




        
5条回答
  •  星月不相逢
    2020-12-19 12:39

    I usualy get those java.lang.NoClassDefFoundError when the class appears MORE THAN ONCE in the classloader. Check the jars because, if the same class is present in more than one (maybe included both in the webservice client jar AND elsewhere) the java classloader will not know which one to load, even if it's exactly the same class.

提交回复
热议问题