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.sample.SessionFactoryUtil.<clinit>(SessionFactoryUtil.java:16) at com.sample.TestPerson.main(TestPerson.java:11)
    No Bugmate found.