Hi, I just wanted to share something I discovered today with the Cactus
users. It applies to Resin specifically (but it may apply to other servlet
engines as well). That is: the cactus jar must be in the web-app's lib
directory--it cannot be part of resin's global lib folder. The reason is
that classes in the global lib directory cannot reference classes in the
web-app's lib directory. This means when Cactus tries to instantiate your
test class it will get a ClassNotFoundError. Putting the cactus jar on the
same level as your test classes will solve this problem.

Just an FYI. I checked the docs to see if I could find a reference to this
issue, but I didn't see one immediately. Vincent has modified the docs quite
a bit recently, so I may have missed it.


Cheers,

Nick

Reply via email to