AnnotationException « Annotation « JPA Q&A





1. Annotations: org.hibernate.AnnotationException    forum.hibernate.org

Author Message colbertz Post subject: Annotations: org.hibernate.AnnotationException Posted: Sat Nov 01, 2008 9:33 am Beginner Joined: Sat Oct 18, 2008 10:25 am Posts: 30 Hi, I used mapping-files in my application, but now I want to use annotations. I get following error: Initial SessionFactory creation failed.org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager) I don't know, where my mistake is. ...