ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ant-problem after upgrading from junit 4.4 to junit 4.6
Date Thu, 14 May 2009 12:37:23 GMT
On 2009-05-14, Walter, Matthias <> wrote:

> Hi there,

> the stacktrace is

> 	[junit] Exception in thread "main" java.lang.NoClassDefFoundError: org/junit/Assume$AssumptionViolatedException
> 	[junit] 	at org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(

I don't think this is the current source, but
contains a hard reference to the class in question.

So it's not Ant but the Spring test context that fails when used with
JUnit 4.6.

> The files are compiled against 4.6 and run with 4.6. However, the
> problem disappears if I change forkmode from "once" to
> "perTest". This is doing the job for me....

This is something I don't understand, at all.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message