java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • session.flush(); gives null
    via by sam liya,
  • session.flush(); gives null
    via by Rahul Babbar,
    • java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:120) at com.mwq.hibernate.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:17) at com.mwq.hibernate.BaseDao.queryList(BaseDao.java:29) at com.mwq.hibernate.Dao.queryManagerOfNatural(Dao.java:141) at com.mwq.frame.LandFrame.<init>(LandFrame.java:100) at com.mwq.PersonnelManage.land(PersonnelManage.java:32) at com.mwq.PersonnelManage$1.run(PersonnelManage.java:26) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    No Bugmate found.