title: How to fix the deployment error in Glassfish?
body: <p>I'm getting the following error when deploying the application in the Glassfish server,</p>
  
  <p>"<strong>Error occurred during deployment: Exception while preparing the app : 
  java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence. Please see server.log for more details</strong>"</p>
  
  <p>Please help me.</p>
  
  <p>Thanks in advance,
  Gnik</p>