-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: NoSuchMethodException: org.hibernate.validator.ClassValidato
PostPosted: Wed Jun 22, 2011 3:15 am 
Newbie

Joined: Wed Jun 22, 2011 3:10 am
Posts: 1
I get this error when trying to run my application:
Code:
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)

Caused by: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)


Any clues with this?
hibernate-core version 3.6.1


Top
 Profile  
 
 Post subject: Re: NoSuchMethodException: org.hibernate.validator.ClassValidato
PostPosted: Mon Feb 13, 2012 6:42 pm 
Newbie

Joined: Thu Apr 01, 2010 5:13 pm
Posts: 2
I solved this problem adding this two properties in my hibernate config.

<property name="hibernate.validator.apply_to_ddl">false</property>
<property name="hibernate.validator.autoregister_listeners">false</property>


Top
 Profile  
 
 Post subject: Re: NoSuchMethodException: org.hibernate.validator.ClassValidato
PostPosted: Tue Feb 14, 2012 3:02 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
hibernate-core version 3.6.1 requires Hibernate Validator Version: 3.1.0.GA
I think crzer used an older version of Hibernate Validator


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.