On 2009-05-14, Walter, Matthias <m.wal...@citti.de> 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(SpringMethodRoadie.java:240) I don't think this is the current source, but <http://springframework.cvs.sourceforge.net/viewvc/springframework/spring/tiger/mock/org/springframework/test/context/junit4/SpringMethodRoadie.java?revision=1.13&view=markup> 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. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org