You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Sergiu Carabet <se...@12snap.com> on 2005/03/14 15:15:56 UTC
FW: Cactus testing using Ant
> Hi,
>
> I am trying to unit test my EJBs using the cactus, and the integration
> with ANT.
> I am using the ant task <cactus earfile="somear.file"...> for testing.
>
> I cactify a war file I use and add to WEB-INF/classes my test classes.
> I use ServletTestCase for testing.
>
> I do get [cactus] java.lang.ClassNotFoundException:
> saying that it cannot find the test class. I do have all the required
> cactus jars in the war inside the ear, and also the testcases there.
>
> can you help me to figure out why cactus does not find my testclasses ??
> I use Jboss 3.2.6 as container for testing configured for the default port
> 8080.
>
> Many thanx in advance,
> Sergiu