Struts 2
  1. Struts 2
  2. WW-2382

AnnotationValidationInterceptor Exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.1
    • Component/s: Core Interceptors
    • Labels:
      None
    • Environment:

      Windows XP, J2SE 1.6_03 Maven 2.0.7

    • Flags:
      Important

      Description

      I have an existing Struts2 Portlet project dependent on Struts2 2.1.1-SNAPSHOT. The project was working fine until 12/17/2007. Over the weekend the opensymphony xwork poms/jars were removed from the people.apache.org snapshot repository located at http://people.apache.org/repo/m2-snapshot-repository/com/opensymphony/. To resolve the missing dependencies I started using http://maven2.opensymphony.com/. This satisfied the build but now I'm getting runtime exceptions. The stack trace is listed below.

      My project uses struts2-core, struts2-portlet-plugin, the following dependencies as well:
      <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
      </dependency>
      <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
      <version>1.2</version>
      </dependency>
      <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.3.1</version>
      </dependency>
      <dependency>
      <groupId>velocity</groupId>
      <artifactId>velocity</artifactId>
      <version>1.4</version>
      </dependency>
      <dependency>
      <groupId>velocity-tools</groupId>
      <artifactId>velocity-tools</artifactId>
      <version>1.1</version>
      </dependency>
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>jsp-api</artifactId>
      <version>2.0</version>
      <scope>provided</scope>
      </dependency>
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
      </dependency>
      <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.9</version>
      </dependency>

      ============= STACK TRACE =====================
      Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - jar:file:/C:/LifeRay4.3.5/webapps/IngestPortlet/WEB-INF/lib/struts2-core-2.1.1-SNAPSHOT.jar!/struts-default.xml:141:127
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:77)
      at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:53)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1069)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:776)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:789)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:812)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:441)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:268)
      at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:109)
      at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
      at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
      at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:370)
      at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:423)
      at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:211)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
      at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:290)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:454)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:492)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:491)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:542)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:490)
      at com.opensymphony.xwork2.ObjectFactory.injectInternalBeans(ObjectFactory.java:132)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:157)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:144)
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:52)
      ... 32 more
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:137)
      at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
      at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
      at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
      ... 41 more
      Caused by: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:464)
      at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
      at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:135)
      ... 46 more
      Caused by: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:157)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:126)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:103)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
      ... 51 more
      Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:239)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:229)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:282)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:130)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:128)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:154)
      ... 70 more
      2007-12-17 17:03:54,894 [gine[Catalina]]] ERROR InterceptorBuilder - Actual exception
      Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - jar:file:/C:/LifeRay4.3.5/webapps/IngestPortlet/WEB-INF/lib/struts2-core-2.1.1-SNAPSHOT.jar!/struts-default.xml:141:127
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:77)
      at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:53)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1069)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:776)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:789)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:812)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:441)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:268)
      at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:109)
      at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
      at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
      at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:370)
      at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:423)
      at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:211)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
      at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:290)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:454)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:492)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:491)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:542)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:490)
      at com.opensymphony.xwork2.ObjectFactory.injectInternalBeans(ObjectFactory.java:132)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:157)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:144)
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:52)
      ... 32 more
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:137)
      at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
      at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
      at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
      ... 41 more
      Caused by: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:464)
      at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
      at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:135)
      ... 46 more
      Caused by: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:157)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:126)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:103)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
      ... 51 more
      Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:239)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:229)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:282)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:130)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:128)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:154)
      ... 70 more
      2007-12-17 17:03:54,925 [gine[Catalina]]] ERROR InterceptorBuilder - Actual exception
      Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - jar:file:/C:/LifeRay4.3.5/webapps/IngestPortlet/WEB-INF/lib/struts2-core-2.1.1-SNAPSHOT.jar!/struts-default.xml:141:127
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:77)
      at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:53)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1069)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:776)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:789)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:812)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:441)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:268)
      at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:109)
      at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
      at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
      at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:370)
      at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:423)
      at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:211)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
      at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:290)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:454)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:492)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:491)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:542)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:490)
      at com.opensymphony.xwork2.ObjectFactory.injectInternalBeans(ObjectFactory.java:132)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:157)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:144)
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:52)
      ... 32 more
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:137)
      at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
      at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
      at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
      ... 41 more
      Caused by: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:464)
      at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
      at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:135)
      ... 46 more
      Caused by: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:157)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:126)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:103)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
      ... 51 more
      Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:239)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:229)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:282)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:130)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:128)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:154)
      ... 70 more
      2007-12-17 17:03:55,019 [gine[Catalina]]] ERROR InterceptorBuilder - Actual exception
      Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - jar:file:/C:/LifeRay4.3.5/webapps/IngestPortlet/WEB-INF/lib/struts2-core-2.1.1-SNAPSHOT.jar!/struts-default.xml:141:127
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:77)
      at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:53)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1069)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:776)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:789)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:812)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:441)
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:268)
      at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:109)
      at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
      at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
      at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:370)
      at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:423)
      at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:211)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
      at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
      at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:290)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:454)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:492)
      at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:491)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:542)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:490)
      at com.opensymphony.xwork2.ObjectFactory.injectInternalBeans(ObjectFactory.java:132)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:157)
      at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:144)
      at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:52)
      ... 32 more
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:137)
      at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
      at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:431)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:446)
      at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
      ... 41 more
      Caused by: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:464)
      at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501)
      at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)
      at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
      at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:135)
      ... 46 more
      Caused by: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:157)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:126)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:103)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:84)
      at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:82)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:329)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:299)
      at com.opensymphony.xwork2.inject.ContainerImpl$5.create(ContainerImpl.java:298)
      at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:155)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:81)
      at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:121)
      at com.opensymphony.xwork2.inject.ContainerImpl.getConstructor(ContainerImpl.java:562)
      at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:460)
      ... 51 more
      Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.validator.ValidatorFactory, name='default'] in public void com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.setValidatorFactory(com.opensymphony.xwork2.validator.ValidatorFactory).
      at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:239)
      at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:229)
      at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:282)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:130)
      at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:128)
      at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:154)
      ... 70 more

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Mike Gardiner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development