title: java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
body: <p>I'm trying to do an initial setup with Hibernate in Eclipse, while deploying with Tomcat.</p>
  
  <p>I encountered the following problem:</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.hibernate.cfg.Configuration
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)
      db.HibernateUtil.buildSessionFactory(HibernateUtil.java:13)
      db.HibernateUtil.&lt;clinit&gt;(HibernateUtil.java:8)
  </code></pre>
  
  <p>I've goggled my problem online and I understand that it has something to to with the project class path.</p>
  
  <p>I've added a user library to my project containing all the jars under the "required" directory in the hibernate download, but that doesn't seem to work.</p>
  
  <p>Please find a screen shot of my project <a href="http://tinypic.com/view.php?pic=2rnuh4y&amp;s=5" rel="noreferrer">here:</a> </p>