Your classpath seems to be correct on the client side but your classpath is
perhaps not correct on the server side.
Don't forget to copy commons-cactus.jar and junit.jar in the WEB-INF/lib
directory of the webapp that you are testing.
C�dric
>
> Hi,
> I have set the classpath for both Junit.jar as well as
> commons-cactus.jar.But it seems to be throwing same Exception.
> Sudhir
>
> -----Original Message-----
> From: Vaishnav, Kunal [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 7:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Reg Cactus.
>
>
> I guess that your classpath is not set up to reflect where
> junit.jar and
> cactus.jar is located. It is a simple error.
> If you are using JBuilder, go to Project Properties and check
> whether you
> have the correct source and libraries set up.
>
> Kunal.
>
> -----Original Message-----
> From: SUDHIR Amanana [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 5:47 AM
> To: [EMAIL PROTECTED]
> Subject: Reg Cactus.
>
>
> Hi,
> I am working on cactus. when I tried to run the test cases
> through cactus,I
> am getting following Exception
>
> [java] java.lang.NoClassDefFoundError
> [java] at org.apache.commons.cactus.ServletTestCase.runTest(Servle
> Case.java:128)
> [java] at org.apache.commons.cactus.AbstractTestCase.runBare(Abstr
> stCase.java:266)
> [java] at junit.framework.TestResult$1.protect(TestResult.java:100
>
> [java] at junit.framework.TestResult.runProtected(TestResult.java:
>
> [java] at junit.framework.TestResult.run(TestResult.java:103)
> [java] at junit.framework.TestCase.run(TestCase.java:121)
> [java] at junit.framework.TestSuite.runTest(TestSuite.java:149)
> [java] at junit.framework.TestSuite.run(TestSuite.java:144)
> [java] at junit.framework.TestSuite.runTest(TestSuite.java:149)
> [java] at junit.framework.TestSuite.run(TestSuite.java:144)
> [java] at junit.textui.TestRunner.doRun(TestRunner.java:63)
> [java] at junit.textui.TestRunner.start(TestRunner.java:217)
> [java] at junit.textui.TestRunner.main(TestRunner.java:89)
>
> what might be the problem?Could u plz clarify me.
> Thanks,
> Sudhir
>
>