Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 21717 invoked from network); 20 Aug 2009 07:36:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 07:36:26 -0000 Received: (qmail 73573 invoked by uid 500); 20 Aug 2009 07:36:44 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 73517 invoked by uid 500); 20 Aug 2009 07:36:44 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 73507 invoked by uid 99); 20 Aug 2009 07:36:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:36:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Erik.VanIngen@fao.org designates 168.202.2.12 as permitted sender) Received: from [168.202.2.12] (HELO pmdfint.fao.org) (168.202.2.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:36:33 +0000 Received: from hqfaoex04.hq.un.fao.org (hqfaoex04.fao.org [168.202.2.112]) by pmdfint.fao.org (PMDF V6.2-X17 #30673) with ESMTP id <0KON00DKYZSAN4@pmdfint.fao.org> for users@continuum.apache.org; Thu, 20 Aug 2009 09:36:11 +0200 (MEST) Received: from hqfaoex03.hq.un.fao.org ([168.202.2.195]) by hqfaoex04.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:36:10 +0200 Received: from hqfaoex05.hq.un.fao.org ([168.202.2.150]) by hqfaoex03.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:25:29 +0200 Received: from hqfaoex03.hq.un.fao.org ([168.202.2.195]) by hqfaoex05.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:15:05 +0200 Received: from hqfaoex05.hq.un.fao.org ([168.202.2.150]) by hqfaoex03.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:15:05 +0200 Received: from hqfaoex03.hq.un.fao.org ([168.202.2.195]) by hqfaoex05.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:15:05 +0200 Received: from hqfaoex05.hq.un.fao.org ([168.202.2.150]) by hqfaoex03.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:15:05 +0200 Received: from hqffex01.hq.un.fao.org ([168.202.2.199]) by hqfaoex05.hq.un.fao.org with Microsoft SMTPSVC(5.0.2195.6713); Thu, 20 Aug 2009 09:15:05 +0200 Date: Thu, 20 Aug 2009 09:15:05 +0200 From: "VanIngen, Erik (FIES)" Subject: RE: @RunWith(SpringJUnit4ClassRunner.class) NoSuchMethodError To: users@continuum.apache.org Message-id: <44ACF4AB1BF0834DB42A3FD90DE8A19C09AB3771@hqffex01.fao.org> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6619.12 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Thread-Topic: @RunWith(SpringJUnit4ClassRunner.class) NoSuchMethodError Thread-Index: AcofQqfrGRVh37W+Tee3rswE1AspigBmbzUwACBXkYAAAe/ecA== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 20 Aug 2009 07:15:05.0564 (UTC) FILETIME=[F13471C0:01CA2165] X-Virus-Checked: Checked by ClamAV on apache.org Hi Thomas, Using Junit 4.4 instead of 4.7 did not make any difference, the surefire component kept failing anyway...=20 Upgrading Maven to 2.2.1 did not work either.=20 But I have found a workaround: Instead of using=20 @ContextConfiguration,=20 I am using now=20 @ContextConfiguration("/applicationContext-text.xml") Now it is running fine on Continuum with Junit 4.7. Cheers, Erik -----Original Message----- From: InterNetX - Thomas Koch [mailto:thomas.koch@internetx.de]=20 Sent: 20 August 2009 08:19 To: users@continuum.apache.org Subject: AW: @RunWith(SpringJUnit4ClassRunner.class) NoSuchMethodError Hi Erik, Which JUnit version do you use?=20 We actually had a same problem when using JUnit 4.5 instead of 4.4.=20 So we changed to JUnit 4.4 and all works fine. Best regards=20 Thomas Team Entwicklung -- InterNetX GmbH Maximilianstr. 6 93047 Regensburg Germany Tel. +49 941 59559-475 Fax +49 941 59559-55 Gesch=E4ftsf=FChrer/CEO: Thomas M=F6rz Amtsgericht Regensburg, HRB 7142 =20 > -----Urspr=FCngliche Nachricht----- > Von: VanIngen, Erik (FIES) [mailto:Erik.VanIngen@fao.org] > Gesendet: Mittwoch, 19. August 2009 16:51 > An: users@continuum.apache.org > Betreff: @RunWith(SpringJUnit4ClassRunner.class) NoSuchMethodError >=20 >=20 > =20 > Running my Spring unit test on Continuum give errors. Any > idea how to solve this? >=20 > Running the same test in eclipse or on the prompt runs > without problems.=20 >=20 > More info: http://forum.springsource.org/showthread.php?t=3D76434 >=20