vendredi 31 juillet 2015

Not loading the persistence provider class in runtime

I have created RestService enabled with JPA(Generic 2.0 version). Using jersey jars and hibernate entity manager jar as dependencies.

Deployment is successfull in tomcat. But when any transaction is processed, getting below exception in runtime.

java.lang.ClassNotFoundException: javax.persistence.spi.PersistenceProvider

What could be the issue, not loading the persistence provider class even it is in the classpath ?

Aucun commentaire:

Enregistrer un commentaire