Hi,
 
I am using struts 1.2.9 with tomcat 4.1.27..and Jbuilder X
 
i have just one jsp in my root context
 
and my web.xml has configured like below
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>
 
while starting the tomcat it throws the following exception
and the application is not started
 
Servlet /cash threw load() exception: javax.servlet.ServletException: Wrapper 
cannot find servlet class org.apache.struts.action.ActionServlet or a class it 
depends on
javax.servlet.ServletException: Wrapper cannot find servlet class 
org.apache.struts.action.ActionServlet or a class it depends on
 at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:873)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
 at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
 at org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 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:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
StandardWrapper[/cash:invoker]: Loading container servlet invoker
 
 
any help appreciated
 
Faizal

Reply via email to