title: Hibernate java.lang.NoClassDefFoundError
body: <p>I am running a web application with hibernate and got stuck at this exception.</p>
  
  <pre><code>    ... 34 more
  18:50:02,573 WARN  [AbstractExceptionHandler] Unhandled exception
  javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.package.util.HibernateUtil
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:295)
      at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170).......
  </code></pre>