Search code examples
hibernatespringannotationsversion

spring hibernate version issue


I am using following libs:

hibernate hibernate-core 3.6.3.Final hibernate hibernate-jpa 2.0-api-1.0.0.Final provided

Along with spring 3.0.5 RELEASE libs

But I am getting the follwoing error while AppContext loading:

java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.ReflectionManager in EnvironmentClassLoader.

Looks like I might be missing the hibernate-annotation jar, if thats correct which version should I use. I tried several, but leading to version conflicts.

Thanks!


Solution

  • This class is in hibernate-commons-annotations-3.0.5.Final.jar.

    P.S. I recommend you to improve your answer rate.