VRAPTOR3 + Bean Validator

Como voce configura vraptor para usar Bean validator e Hibernate annotations?

Eu tenho esto no pom.xml

<dependency>
  		 	<groupId>javax.validation</groupId>
  		 	<artifactId>validation-api</artifactId>
  		 	<version>1.1.0.Final</version>
  		 </dependency>
  		 <dependency>
  		 	<groupId>org.hibernate</groupId>
  		 	<artifactId>hibernate-validator</artifactId>
  		 	<!--  version>5.0.3.Final</version -->
  		 	<version>4.2.0.Final</version>
  		 	<exclusions>
  		 		<exclusion>
  		 			<groupId>org.jboss.logging</groupId>
  		 			<artifactId>jboss-logging</artifactId>
  		 		</exclusion>
  		 	</exclusions>
  		 </dependency>

Error:

GRAVE: Servlet.service() para servlet jsp lanzó excepción
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘commonsUploadMultipartInterceptor’: Unsatisfied dependency expressed through constructor argument with index 3 of type [br.com.caelum.vraptor.Validator]: : Error creating bean with name ‘defaultValidator’: Unsatisfied dependency expressed through constructor argument with index 4 of type [br.com.caelum.vraptor.validator.BeanValidator]: : Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘defaultValidator’: Unsatisfied dependency expressed through constructor argument with index 4 of type [br.com.caelum.vraptor.validator.BeanValidator]: : Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;

Eu consegui com VRAPTOR 3.5.4 y as dependencias

javax.validation validation-api 1.1.0.Final org.hibernate hibernate-validator 5.0.3.Final E

[quote=ebett]Como voce configura vraptor para usar Bean validator e Hibernate annotations?

Eu tenho esto no pom.xml

<dependency>
  		 	<groupId>javax.validation</groupId>
  		 	<artifactId>validation-api</artifactId>
  		 	<version>1.1.0.Final</version>
  		 </dependency>
  		 <dependency>
  		 	<groupId>org.hibernate</groupId>
  		 	<artifactId>hibernate-validator</artifactId>
  		 	<!--  version>5.0.3.Final</version -->
  		 	<version>4.2.0.Final</version>
  		 	<exclusions>
  		 		<exclusion>
  		 			<groupId>org.jboss.logging</groupId>
  		 			<artifactId>jboss-logging</artifactId>
  		 		</exclusion>
  		 	</exclusions>
  		 </dependency>

Error:

GRAVE: Servlet.service() para servlet jsp lanzó excepción
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘commonsUploadMultipartInterceptor’: Unsatisfied dependency expressed through constructor argument with index 3 of type [br.com.caelum.vraptor.Validator]: : Error creating bean with name ‘defaultValidator’: Unsatisfied dependency expressed through constructor argument with index 4 of type [br.com.caelum.vraptor.validator.BeanValidator]: : Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘defaultValidator’: Unsatisfied dependency expressed through constructor argument with index 4 of type [br.com.caelum.vraptor.validator.BeanValidator]: : Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘defaultBeanValidator’: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.ValidatorCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘validatorCreator’: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘br.com.caelum.vraptor.validator.MethodValidatorFactoryCreator’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘methodValidatorFactoryCreator’: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.parameterNameProvider(Ljavax/validation/ParameterNameProvider;)Ljavax/validation/Configuration;
[/quote]