Could this be the same issue fixed on commons-compress recently? Try adding ant-junit4.jar to the classpath.
Emmanuel Bourg Le 18/06/2013 13:11, Olivier Sallou a écrit : > Hi, > one of my packages (biojava3-live) fails to build after a dependency > update (which one?). > > What is strange is it fails at junit time (via ant task) with error: > java.lang.NoClassDefFoundError: junit/framework/JUnit4TestAdapterCache > > [junit] Running org.biojava3.core.sequence.DNATest > [junit] Testsuite: org.biojava3.core.sequence.DNATest > [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > elapsed: 0 sec > [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > elapsed: 0 sec > [junit] > [junit] Caused an ERROR > [junit] junit/framework/JUnit4TestAdapterCache > [junit] java.lang.NoClassDefFoundError: > junit/framework/JUnit4TestAdapterCache > [junit] at java.lang.ClassLoader.defineClass1(Native Method) > [junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:634) > [junit] at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > > I looked at Junit4.jar content and JUnit4TestAdapterCache is still there > (and biojava code does not call it). > Looks like the noclassdeffounderror hides the name of the class it is > looking for. > > Any idea what's going on or how I could debug this? > > Thanks > > Olivier > -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51c0414c.1040...@apache.org