Pavan, I think you're missing the j2ee.jar or servlet.jar on your client side classpath (or it is not the correct version - it needs to be the Servlet API 2.3 one as you're using ServletResponseWrapper). Can you triple-check that ?
Thanks -Vincent > -----Original Message----- > From: Pavan Aripirala Venkata [mailto:[EMAIL PROTECTED]] > Sent: 13 April 2002 00:30 > To: Cactus Users List; [EMAIL PROTECTED] > Subject: RE: Struts testing - java.lang.NoClassDefFoundError: > javax/servlet/ServletResponseWrapper > > Sorry - completed the sentence > > -----Original Message----- > From: Pavan Aripirala Venkata > Sent: Friday, April 12, 2002 4:10 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Struts testing - java.lang.NoClassDefFoundError: > javax/servlet/ServletResponseWrapper > > > Hi, > I am getting a NoClassDefFoundError when I tried testing one of > our Action classes (loginAction) using the sourceForge's > CactusStrutsTestCase (1.6 version). > > On the server end I was able to compile and start the JBoss > application server. On the client end I was able to compile the classes > but when I run it using ant target, beginLogin method is executed > followed by the NoClassDefFoundError. I don't think the server end is > being called at all. > > In the runtime classpath of client I have j2ee.jar, which > contains javax/servlet/ServletResponseWrapper class. > > Here is the partial stackTrace > [java] . WARN [main] (TestLoginStrut.java:55) - Entered the > beginLogin Method > [java] E > [java] Time: 0.187 > [java] There was 1 error: > [java] 1) testLogin(com.ejemoni.qa.struts.TestLoginStrut) > [java] java.lang.NoClassDefFoundError: > javax/servlet/ServletResponseWrapper > > Does the above stacktrace means that j2ee.jar is not in the > server side? > Thanks > > Pavan. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
