jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Childers" <jchild...@hotels.com>
Subject assertEquals: NoSuchMethodError
Date Mon, 03 Feb 2003 22:13:17 GMT

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.testComputeSecureActionMappingURL(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:235)
	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):125)
	at org.apache.cactus.server.AbstractWebTestController.around87_handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
	at org.apache.cactus.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj(1k):101)
	at org.apache.cactus.server.JspTestRedirector.dispatch90_doGet(JspTestRedirector.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

Mime
View raw message