I have placed struts.jar in my webroot\WEB-INF\lib directory...
-----Original Message----- From: Philihp Busby [mailto:[EMAIL PROTECTED] Sent: May 16, 2006 2:24 PM To: Struts Users Mailing List Subject: Re: Wrapper cannot find servlet class Is the Struts JAR included within your WAR file or deployment directory? And if so, where? On 5/16/06, M Faizal <[EMAIL PROTECTED]> wrote: > 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(StandardWra pper.java:873) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810) > at org.apache.catalina.core.StandardContext.loadOnStartup(StandardC ontext.java:3279) > at org.apache.catalina.core.StandardContext.start(StandardContext.j ava: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(NativeMethodAccessor Impl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.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 > > This message has been automatically scanned for viruses