I\'m trying to configure Spring 3.2, JPA 2.0 with Hibernate 4 as the persistence provider. When I try to deploy the application in Weblogic 10.3.5, I get the following erro
Definitely some old version or not in use now hibernate jars are present there in your lib folder. I my case it was hibernate-annotations-x.x.x.jar.
I removed this hibernate-annotations-x.x.x.jar from my lib.
If you are using hibernate-commons-annotations-x.x.x.jar then no need to put above jar. I was facing the same problem and when I removed hibernate-annotations-x.x.x.jar and restarted the server then my error gone. Put only hibernate-commons-annotations-x.x.x.jar.
Search for any other old hibernate version jars, if any then remove it and put latest one.