Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 30405 invoked from network); 18 Apr 2003 12:03:37 -0000 Received: from mail1.smals-mvm.be (HELO mail1) (193.178.200.14) by daedalus.apache.org with SMTP; 18 Apr 2003 12:03:37 -0000 Received: from webshieldpr.smals-mvm.be (webshieldpr.smals-mvm.be [10.0.202.32]) by mail1.smals-mvm.be (iPlanet Messaging Server 5.1 Patch 1 (built Jun 6 2002)) with SMTP id <0HDJ00JGZFZLQF@mail1.smals-mvm.be> for user@ant.apache.org; Fri, 18 Apr 2003 13:59:45 +0200 (CEST) Received: FROM mail_srv1.aplppo.be BY webshieldpr.smals-mvm.be ; Fri Apr 18 13:59:39 2003 +0200 Received: by mail_srv1 with Internet Mail Service (5.5.2653.19) id ; Fri, 18 Apr 2003 14:00:57 +0200 Date: Fri, 18 Apr 2003 14:00:56 +0200 From: Pellier Marc Subject: Juinit and java.lang.NoSuchMethodError To: 'Ant Users List' Message-id: <803D9CAB711ED711AD9800104BAD8D544A4B9C@mail_srv1> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset=iso-8859-1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N When I add in the target test I had this stack trace [junit] java.lang.NoSuchMethodError [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFo rmatter.startTest(XMLJUnitResultFormatter.java:186) [junit] at junit.framework.TestResult.startTest(TestResult.java:151) [junit] at junit.framework.TestResult.run(TestResult.java:103) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner. run(JUnitTestRunner.java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner. main(JUnitTestRunner.java:409) [junit] Exception in thread "main" Anyone know what might cause this? Example