jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <mgai...@hotmail.com>
Subject Re: assertEquals: NoSuchMethodError
Date Wed, 04 Sep 2002 20:39:21 GMT

----- Original Message -----
From: "James Childers" <jchilders@hotels.com>
To: "Cactus-User (E-mail)" <cactus-user@jakarta.apache.org>
Sent: Monday, February 03, 2003 6:13 PM
Subject: assertEquals: NoSuchMethodError



Hate to bother everyone with a boneheaded error like this, but I can't seem
to track down the cause.

The following method -- which was working last Friday -- throws a
NoSuchMethodError:

public void testComputeSecureActionMappingURL() throws JspException {
String result = sfTag.computeActionMappingURL();
assertEquals(expectedSecureUrl, result); // This is line 38
}

For some reason, it is unable to find assertEquals() now, although
assertTrue() works just fine. Here's the stack trace:

java.lang.NoSuchMethodError
at
com.hotels.packaging.tags.html.SecureFormTagTest.testComputeSecureActionMapp
ingURL(SecureFormTagTest.java:38)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.cactus.AbstractTestCase.runServerTest(AbstractTestCase.java:332)
at
org.apache.cactus.AbstractTestCase.runBareServerTest(AbstractTestCase.java:2
35)
at
org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.
java:149)
at
org.apache.cactus.server.AbstractWebTestController.dispatch87_handleRequest(
AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1
25)
at
org.apache.cactus.server.AbstractWebTestController.around87_handleRequest(Ab
stractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):115
6)
at
org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWeb
TestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
at
org.apache.cactus.server.JspTestRedirector.dispatch90_doGet(JspTestRedirecto
r.java;org/apache/cactus/util/log/LogAspect.aj(1k):93)
at
org.apache.cactus.server.JspTestRedirector.around90_doGet(JspTestRedirector.
java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
at
org.apache.cactus.server.JspTestRedirector.doGet(JspTestRedirector.java;org/
apache/cactus/util/log/LogAspect.aj(1k):87)
... deleted ...

Any ideas?

-= J

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

Mime
View raw message