Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

Re: [jmock-user] JMock-related runtime error

Milan Milanovic

2008-05-04

Replies: Find Java Web Hosting

Author LoginPost Reply
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.

--
Thx, Milan

----- 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




Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.