VRAPTOR - Erros no log do tomcat ao rodar project blank

3 respostas
M

é normal aparecer esses erros no log do tomcat???
a aplicação funciona normal, baixei do site do VRAPTOR é a aplicação exemplo

02/04/2012 11:09:00 org.apache.catalina.core.StandardWrapperValve invoke

GRAVE: Servlet.service() for servlet default threw exception

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 [java.util.List]: : Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; 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 [java.util.List]: : Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:329)

at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:263)

at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1083)

at br.com.caelum.vraptor.ioc.spring.SpringBasedContainer.instanceFor(SpringBasedContainer.java:86)

at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:47)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.core.EnhancedRequestExecution.execute(EnhancedRequestExecution.java:44)

at br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)

at br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:58)

at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)

at java.lang.Thread.run(Thread.java:680)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultValidator: Unsatisfied dependency expressed through constructor argument with index 4 of type [java.util.List]: : Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:329)

at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)

 33 more

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303Validator: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.validation.Validator]: : Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:329)

at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:744)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)

 47 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.JSR303ValidatorFactory: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider

at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)

at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:109)

at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1429)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:245)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:844)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:786)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)

 61 more

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name JSR303ValidatorFactory: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.validation.ValidatorFactory]: : Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name br.com.caelum.vraptor.validator.ValidatorFactoryCreator: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name validatorFactoryCreator: Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:263)

at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1083)

at br.com.caelum.vraptor.ioc.spring.SpringBasedContainer.instanceFor(SpringBasedContainer.java:86)

at br.com.caelum.vraptor.ioc.spring.ComponentFactoryBean.getObject(ComponentFactoryBean.java:43)

at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)

 70 more

3 Respostas

Lucas_Cavalcanti

finalzinho do erro:

Error creating bean with name 'validatorFactoryCreator': Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to find a default provider

não achou o provider do javax.validation, vc não deve ter posto o jar do hibernate validator.

M

acabei de fazer e os erros no log continuam

o exemplo não utiliza nenhuma conexão com bd, somente um index, como está no site da vraptor

esse é o último erro:

02/04/2012 12:15:26 org.apache.catalina.core.StandardWrapperValve invoke

GRAVE: Servlet.service() for servlet default threw exception

br.com.caelum.vraptor.InterceptionException: There are validation errors and you forgot to specify where to go. Please add in your method something like:

validator.onErrorUse(page()).of(AnyController.class).anyMethod();

or any view that you like.

If you didnt add any validation error, it is possible that a conversion error had happened.

at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:71)

at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.core.LazyInterceptorHandler.execute(LazyInterceptorHandler.java:61)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:83)

at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor.intercept(ExceptionHandlerInterceptor.java:71)

at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.intercept(ParametersInstantiatorInterceptor.java:87)

at br.com.caelum.vraptor.core.LazyInterceptorHandler.execute(LazyInterceptorHandler.java:59)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.interceptor.InstantiateInterceptor.intercept(InstantiateInterceptor.java:48)

at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:69)

at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)

at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)

at br.com.caelum.vraptor.core.EnhancedRequestExecution.execute(EnhancedRequestExecution.java:44)

at br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)

at br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:58)

at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)

at java.lang.Thread.run(Thread.java:680)
Lucas_Cavalcanti

dá uma olhada no erro:

If you didn't add any validation error, it is possible that a conversion error had happened.

se vc não adicionou erros de validação, pode ter acontecido um erro de conversão.

Criado 2 de abril de 2012
Ultima resposta 2 de abr. de 2012
Respostas 3
Participantes 2