Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 17974 invoked by uid 98); 15 Dec 2002 22:08:24 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 17954 invoked from network); 15 Dec 2002 22:08:22 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 15 Dec 2002 22:08:22 -0000 Received: (qmail 38517 invoked by uid 500); 15 Dec 2002 22:07:07 -0000 Received: (qmail 38505 invoked from network); 15 Dec 2002 22:07:06 -0000 Received: from unknown (HELO gateway.multitask.com.au) (203.41.143.113) by daedalus.apache.org with SMTP; 15 Dec 2002 22:07:06 -0000 In-Reply-To: <20021214210036.37697.qmail@iname.com> To: "Jakarta Commons Users List" Subject: Re: [Jelly] XmlUnit Tag - NoSuchMethodError MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: dion@multitask.com.au Date: Mon, 16 Dec 2002 09:07:04 +1100 X-MIMETrack: Serialize by Router on gateway/Multitask Consulting/AU(Release 5.0.8 |June 18, 2001) at 12/16/2002 09:07:07 AM, Serialize complete at 12/16/2002 09:07:07 AM Content-Type: multipart/alternative; boundary="=_alternative 0079A2ACCA256C90_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=_alternative 0079A2ACCA256C90_= Content-Type: text/plain; charset="US-ASCII" This looks like the old 1.4/1.3 StringBuffer.append(StringBuffer) hassle.... -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au "Michael Rettig" wrote on 15/12/2002 08:00:36 AM: > Is anyone else seeing this same error? I emailed the lead developer > of XMLUnit, and he said it was due to a difference between JUnit 3.7 > and 3.8. However, I've tried it with both, and it still doesn't work. > > To test just change the xmlunit jellyunit suite to actually test > what exception is thrown, and not just test that any exception is > throws (as I've done below). > > Thanks, > > Mike Rettig > > ----- Original Message ----- > From: "Michael Rettig" > > I'm getting this error when trying to compare two xml documents. > > > > java.lang.NoSuchMethodError > > at org.custommonkey.xmlunit.Diff.appendMessage(Unknown Source) > > at org.custommonkey.xmlunit.Diff.toString(Unknown Source) > > at org.apache.commons.jelly.tags.xmlunit. > AssertDocumentsEqualTag.doTag(AssertDocumentsEqualTag.java:119) > > at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:278) > > at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134) > > at org.apache.commons.jelly.tags.junit.CaseTag$1. > runTest(CaseTag.java:105) > > > > Here is the test. I updated one of the XmlUnit tags to include > support for the new assertThrows tags. > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > __________________________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > Meet Singles > http://corp.mail.com/lavalife > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > ForwardSourceID:NT00099B0A --=_alternative 0079A2ACCA256C90_=--