Vraptor 3.1.3

3 respostas
C

Eu de novo

fui atualizar a versao do Raptor p/ 3.1.3 e ele me da este monte de erros.
tirei o raptor 3.1.2 e coloquei o 3.1.3 e…
se volto o 3.2.1 tudo volta a funcionar.

12/07/2010 10:51:53 org.apache.catalina.core.StandardContext filterStart

SEVERE: Exception starting filter vraptor

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name stereotypedBeansRegistrar: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.List]: : Error creating bean with name stereotypeHandler: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.route.Router]: : Error creating bean with name defaultRouter: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.RoutesParser]: : Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultRouter: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.RoutesParser]: : Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name stereotypeHandler: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.route.Router]: : Error creating bean with name defaultRouter: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.RoutesParser]: : Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultRouter: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.RoutesParser]: : Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer

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

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

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

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

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

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

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

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

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

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

at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)

at br.com.caelum.vraptor.ioc.spring.SpringBasedContainer.start(SpringBasedContainer.java:68)

at br.com.caelum.vraptor.ioc.spring.SpringProvider.start(SpringProvider.java:82)

at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:110)

at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:103)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)

at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3838)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at org.apache.catalina.core.StandardService.start(StandardService.java:519)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

at org.apache.catalina.startup.Catalina.start(Catalina.java:581)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name stereotypeHandler: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.route.Router]: : Error creating bean with name defaultRouter: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.RoutesParser]: : Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultRouter: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.RoutesParser]: : Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name pathAnnotationRoutesParser: Unsatisfied dependency expressed through constructor argument with index 1 of type [br.com.caelum.vraptor.http.route.TypeFinder]: : Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name defaultTypeFinder: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.vraptor.http.ParameterNameProvider]: : Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name paranamerNameProvider: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.vraptor.http.ParanamerNameProvider]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/thoughtworks/paranamer/AnnotationParanamer

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

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

o que esta errado.

obrigado de novo mocada.

claudio

3 Respostas

G

Você não pode simplesmente trocar a versão do vraptor sem ler nos release notes se há algum impacto em outras libs.

Você certamente vai precisar atualizar mais algumas libs como por exemplo o paranamer e outros. Dê uma olhada nas versões que você tem na sua aplicação e compare com a versão que é disponibilizada no zip do vraptor 3.1.3 e atualize as que possuem versão diferente.

Lucas_Cavalcanti

troque o paranamer-1.5 pelo paranamer-2.2

C

Beleza

obrigado Lucas.

funcionou.

Criado 12 de julho de 2010
Ultima resposta 12 de jul. de 2010
Respostas 3
Participantes 3