views:

26

answers:

0

My application keeps on giving the following error relating to Unable to load config class org.apache.struts2.s1.ActionFormValidationInterceptor. Which jar or config file can I add to make this work?

Thanks,

2010-05-11 15:01:04,171 WARN com.opensymphony.xwork2.config.providers.InterceptorBuilder.warn:45 - Unable to load config class org.apache.struts2.s1.ActionFormValidationInterceptor at interceptor - jar:file:/C:/Documents%20and%20Settings/tranvu/Workspaces/MyEclipse8/.metadata/.me_tcat/webapps/recruits/WEB-INF/lib/struts2-struts1-plugin-2.1.8.1.jar!/struts-plugin.xml:33:118 probably due to a missing jar, which might be fine if you never plan to use the actionForm-validation interceptor 2010-05-11 15:01:04,187 ERROR com.opensymphony.xwork2.config.providers.InterceptorBuilder.error:27 - Actual exception Caught Exception while registering Interceptor class org.apache.struts2.s1.ActionFormValidationInterceptor - interceptor - jar:file:/C:/Documents%20and%20Settings/tranvu/Workspaces/MyEclipse8/.metadata/.me_tcat/webapps/recruits/WEB-INF/lib/struts2-struts1-plugin-2.1.8.1.jar!/struts-plugin.xml:33:118 at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:202) at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:59) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:987) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:806) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:819) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:842) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:449) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264) at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) 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.(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.startup.HostConfig.checkResources(HostConfig.java:1105) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203) 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: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.struts2.s1.ActionFormValidationInterceptor': Resolution of declared constructors on bean Class [org.apache.struts2.s1.ActionFormValidationInterceptor] from ClassLoader [WebappClassLoader delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: