[jboss-user] [Beginner's Corner] - Re: JBOSS 5.1 Server -> org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider
Fabian Krüger
do-not-reply at jboss.com
Fri Sep 24 05:00:33 EDT 2010
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100924/b7797903/attachment.html
More information about the jboss-user
mailing list