I am trying to deploy a roo 1.2.1 spring mvc,jpa2.0 application on weblogic.All the select queries are working fine after deployment but if I try to update a record or create a new record I get below exception
Caused by: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider
I have mentioned in my persistance.xml file provider as org.hibernate.ejb.HibernatePersistence , still webllogic 10.3.3 is trying to load org.eclipse.persistence.jpa.PersistenceProvider.
Please guide me what I am doing wrong here


Reply With Quote