jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rod Macpherson" <rmacpher...@abovehealth.com>
Subject Strange Classpath Problem
Date Thu, 22 Sep 2005 15:31:00 GMT
This works without incident exercising all methods:

A) suite.addTestSuite(MyTestSuite.class); 

This generates a ClassNotFoundException inside the testConnect method
when it runs the test:

B) suite.addTest(new MyTestSuite("myTest"));
The class that cannot be found is in a static block so it's incidentally
by referencing a class with some statics. Why would it be found in A)
and not B)?

There are clues that seem to suggest it might be trying to execute the
test on the client in form B). That's very strange.

View raw message