Fabian Krüger [http://community.jboss.org/people/fkruegerr] created the 
discussion

"Re: JBOSS 5.1 Server -> org.hibernate.ejb.HibernatePersistence cannot be 
cast to javax.persistence.spi.PersistenceProvider"

To view the discussion, visit: http://community.jboss.org/message/563469#563469

--------------------------------------------------------------
Hello Amar,

without further analysis it seems that you deploy jars provided by JBoss (like 
hibernate3.jar) within your WEB-INF/lib folder.
Removing the provided Jars from your WebApp should solve it.

Cheers,
Fabian
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563469#563469]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to