I moved my JARs to another directory than WEB-INF/lib, so they are not deployed into Web server.
I also have annotated my JUnit 4 test class with @RunWith(JMock.class), and I got the same error during
test run! I don't have any classpath or NoClassDefFoundError issues.
----- Original Message ----
From: Nat Pryce <nat.pryce@gmail.com>
To: user@jmock.codehaus.org
Sent: Tuesday, April 22, 2008 8:24:14 PM
Subject: Re: [jmock-user] JMock-related runtime error
On 22/04/2008, Milan Milanovic <
milanmilanovich@yahoo.com> wrote:
> Is supose that the problem is with the BaseStrutsTestCase that my Test class
> inerhit for testing
> Struts actions:
So you should be able to fix the problem by moving the testing JARs
out of the WEB-INF/lib directory.
--Nat
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email