aspose file tools*
The moose likes JBoss/WildFly and the fly likes org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider" Watch "org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider" New topic
Author

org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider

gourav chouhan
Ranch Hand

Joined: Apr 02, 2010
Posts: 74
Hi Friends
I was migrating my application from Jboss 5 to jboss 6 but got some problem i googled but couldnt find any solution error log is below :-


Thanks
Gourav
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Didi you package any of the Hibernate JARs with your app?


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider