How to solve this compile problem in MyEclipse Java Enterprise?

Discussion in 'Java' started by tenxian, Apr 11, 2008.

  1. tenxian

    tenxian Guest

    2008-04-11 20:09:16,203 ERROR config.providers.InterceptorBuilder ->
    Actual exception
    Could not load class
    org.apache.struts2.s1.ActionFormValidationInterceptor. Perhaps it
    exists but certain dependencies are not available? - interceptor -
    jar:file:/D:/Min%20Pro/Servers/Tomcat%206.0/webapps/ten/WEB-INF/lib/
    struts2-struts1-plugin-2.0.11.jar!/struts-plugin.xml:34:118
    at
    com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:
    206)
    at
    com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:
    57)
    at
    com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:
    905)
    at
    com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:
    743)
    at
    com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:
    756)
    at
    com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:
    777)
    at
    com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:
    410)
    at
    com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:
    239)
    at
    org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:
    111)
    at
    com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:
    152)
    at
    com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:
    52)
    at
    org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:
    395)
    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
    at
    org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:
    201)
    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:
    3696)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:
    4343)
    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(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/
    ActionServlet
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getDeclaredConstructors(Unknown Source)
    at
    org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:
    152)
    at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:
    957)
    at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire(AbstractAutowireCapableBeanFactory.java:
    272)
    at
    com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:
    145)
    at
    com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:
    128)
    at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:
    143)
    at
    com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:
    184)
    ... 27 more
    tenxian, Apr 11, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MyEclipse Support
    Replies:
    0
    Views:
    410
    MyEclipse Support
    Jul 23, 2003
  2. Replies:
    3
    Views:
    534
  3. Replies:
    3
    Views:
    386
    Tom Dyess
    Jan 20, 2005
  4. Replies:
    2
    Views:
    568
    Tom Dyess
    Jan 20, 2005
  5. Clayton Cramer

    Java RMI questions and MyEclipse

    Clayton Cramer, Oct 2, 2012, in forum: Java
    Replies:
    8
    Views:
    573
    Jeff Higgins
    Oct 16, 2012
Loading...

Share This Page