Amar Kintu [http://community.jboss.org/people/amar4kintu] 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/563705#563705 -------------------------------------------------------------- Hello Fabian Krüger, Thanks for the answer. I have also checked it by removing all jar files that are provided by JBOSS server from my /WEB-INF/lib directory. But problem seems to be same. After searching lot in Google and putting question in different forums, I come to know that JBOSS 5.1 is very tightly coupled with JPA 1.0. So it is not possible to use JPA 2.0 with JBOSS 5.1 server. So now I am trying things with JPA 1.0. Let me know if you have any other ideas. Thanks. Amar -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/563705#563705] 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