Hi Rebecca,
In article <[EMAIL PROTECTED]>,
Thu, 11 Mar 2004 17:15:05 -0800,
"Rebecca Hauck" <[EMAIL PROTECTED]> wrote:
rebeccahauck> I'm new to Cactus + Ant and am having some trouble getting my tests to
rebeccahauck> run (trace is below).
[snip]
rebeccahauck> - My test class is at WEB-INF/classes/ CactusServletTests.class
[snip]
rebeccahauck> javax.servlet.ServletException: Error finding class
rebeccahauck> [com.test.cactus.CactusServletTests] using both the Context classloader
If your test class is com.test.cactus.CactusServletTests,
the class file should be located under WEB-INF/classes/com/test/cactus/.
rebeccahauck> <classes dir="${build.dir}/com/test/cactus" includes="**/*.class"/>
I guess, this should be
<classes dir="${build.dir}/" includes="com/test/cactus/**"/>
or something similar.
I hope this helps,
----
Kazuhito SUGURI
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]