title: Error while configuring hibernate with a maven - restful webservices project in eclipse.
body: <p>I am new to maven and I have trouble setting up the required project environment. I created a maven project in eclipse and used jersey for restful web services. I am not sure how to add the hibernate dependency. I added the required hibernate jars as a user library, but when I run to run my application, I get this error </p>
  
  <p>MultiException stack 1 of 2
  java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
  MultiException stack 2 of 2
  java.lang.IllegalStateException: Unable to perform operation: create on org.pro.resource.ExitReasonsResource</p>