 <p>The provider class changed from <code>org.hibernate.ejb.HibernatePersistence</code> to <code>org.hibernate.jpa.HibernatePersistenceProvider</code> in new version of Hibernate check if this is solving your problem.</p>