Re: JMock-related runtime error

View: New views
2 Messages — Rating Filter:   Alert me  

Re: JMock-related runtime error

by Milan Milanovic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...>
To: user@...
Sent: Tuesday, April 22, 2008 8:24:14 PM
Subject: Re: [jmock-user] JMock-related runtime error

On 22/04/2008, Milan Milanovic <milanmilanovich@...> 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.

Parent Message unknown Re: JMock-related runtime error

by Milan Milanovic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I found the way wich woks. I need to disable self-defence in Kaspersky and to remove dnsq.dll file
from Kaspersky folder and then it works. This is very wierd because I completely closed Kaspersky
and I still got that error, I got it always until I remove this dnsq.dll file.

--
Best regards, Milan Milanovic

----- Original Message ----
From: Milan Milanovic <milanmilanovich@...>
To: user@...
Sent: Sunday, May 4, 2008 8:34:59 PM
Subject: Re: [jmock-user] JMock-related runtime error

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@...>
To: user@...
Sent: Tuesday, April 22, 2008 8:24:14 PM
Subject: Re: [jmock-user] JMock-related runtime error

On 22/04/2008, Milan Milanovic <milanmilanovich@...> 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.


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.