jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jay....@wellsfargo.com>
Subject testDoEndTag() fails because maven cactus:test-war cannot find the method
Date Thu, 05 May 2005 01:05:43 GMT
I am doing the jsp custom taglib test using cactus under maven. What's
wrong with this test method.

 

testDoEndTag() fails because maven cactus:test-war cannot find the
method. Here is the exact error message:

 

cactus:test-war:

    [cactus]
-----------------------------------------------------------------

    [cactus] Running tests against Tomcat 4.1.31

    [cactus]
-----------------------------------------------------------------

    [cactus] Running com.wellsfargo.taglib.web.TestXSSTag

    [cactus] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.584
sec

    [cactus] Testsuite: com.wellsfargo.taglib.web.TestXSSTag

    [cactus] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.584
sec

    [cactus]

    [cactus] Testcase: testDoStartTag took 0.431 sec

    [cactus] Testcase: testDoEndTag took 2.133 sec

    [cactus]    FAILED

    [cactus] Method "testDoEndTag" not found

    [cactus] junit.framework.AssertionFailedError: Method "testDoEndTag"
not fou

nd

    [cactus]    at
org.apache.cactus.internal.AbstractCactusTestCase.runBareServ

er(AbstractCactusTestCase.java:153)

    [cactus]    at
org.apache.cactus.internal.server.AbstractWebTestCaller.doTes

t(AbstractWebTestCaller.java:119)

    [cactus]    at
org.apache.cactus.internal.server.AbstractWebTestController.h

andleRequest_aroundBody0(AbstractWebTestController.java:93)

    [cactus]    at
org.apache.cactus.internal.server.AbstractWebTestController.h

andleRequest_aroundBody1$advice(AbstractWebTestController.java:224)

    [cactus]    at
org.apache.cactus.internal.server.AbstractWebTestController.h

andleRequest(AbstractWebTestController.java)

    [cactus]    at
org.apache.cactus.server.JspTestRedirector.doGet_aroundBody0(

JspTestRedirector.java:70)

    [cactus]    at
org.apache.cactus.server.JspTestRedirector.doGet_aroundBody1$

advice(JspTestRedirector.java:224)

    [cactus]    at
org.apache.cactus.server.JspTestRedirector.doGet(JspTestRedir

ector.java)

    [cactus]    at
org.apache.jsp.jspRedirector_jsp._jspService(jspRedirector_js

p.java:69)

    [cactus]    at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.jav

a:137)

    [cactus]    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

    [cactus]    at
org.apache.jasper.servlet.JspServletWrapper.service(JspServle

tWrapper.java:210)

    [cactus]    at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle

t.java:295)

    [cactus]    at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:

241)

    [cactus]    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFil

ter(ApplicationFilterChain.java:200)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl

icationFilterChain.java:146)

    [cactus]    at
com.wellsfargo.filter.metadata.MetaDataHeaders.doFilter(MetaD

ataHeaders.java:68)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFil

ter(ApplicationFilterChain.java:166)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl

icationFilterChain.java:146)

    [cactus]    at
com.wellsfargo.filter.tracking.Tracking.doFilter(Tracking.jav

a:59)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFil

ter(ApplicationFilterChain.java:166)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl

icationFilterChain.java:146)

    [cactus]    at
com.wellsfargo.filter.profile.AttachProfile.doFilter(AttachPr

ofile.java:48)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFil

ter(ApplicationFilterChain.java:166)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl

icationFilterChain.java:146)

    [cactus]    at
com.wellsfargo.filter.authentication.Authentication.doFilter(

Authentication.java:35)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFil

ter(ApplicationFilterChain.java:166)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl

icationFilterChain.java:146)

    [cactus]    at
com.wellsfargo.filter.connection.SecureConnection.doFilter(Se

cureConnection.java:61)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFil

ter(ApplicationFilterChain.java:166)

    [cactus]    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl

icationFilterChain.java:146)

    [cactus]    at
org.apache.catalina.core.StandardWrapperValve.invoke(Standard

WrapperValve.java:209)

    [cactus]    at
org.apache.catalina.core.StandardPipeline$StandardPipelineVal

veContext.invokeNext(StandardPipeline.java:596)

    [cactus]    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipe

line.java:433)

    [cactus]    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j

ava:948)

    [cactus]    at
org.apache.catalina.core.StandardContextValve.invoke(Standard

ContextValve.java:144)

    [cactus]    at
org.apache.catalina.core.StandardPipeline$StandardPipelineVal

veContext.invokeNext(StandardPipeline.java:596)

    [cactus]    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipe

line.java:433)

    [cactus]    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j

ava:948)

    [cactus]    at
org.apache.catalina.core.StandardContext.invoke(StandardConte

xt.java:2358)

    [cactus]    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHos

tValve.java:133)

    [cactus]    at
org.apache.catalina.core.StandardPipeline$StandardPipelineVal

veContext.invokeNext(StandardPipeline.java:596)

    [cactus]    at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorD

ispatcherValve.java:118)

    [cactus]    at
org.apache.catalina.core.StandardPipeline$StandardPipelineVal

veContext.invokeNext(StandardPipeline.java:594)

    [cactus]    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor

tValve.java:116)

    [cactus]    at
org.apache.catalina.core.StandardPipeline$StandardPipelineVal

veContext.invokeNext(StandardPipeline.java:594)

    [cactus]    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipe

line.java:433)

    [cactus]    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j

ava:948)

    [cactus]    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardE

ngineValve.java:127)

    [cactus]    at
org.apache.catalina.core.StandardPipeline$StandardPipelineVal

veContext.invokeNext(StandardPipeline.java:596)

    [cactus]    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipe

line.java:433)

    [cactus]    at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j

ava:948)

    [cactus]    at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter

.java:152)

    [cactus]    at
org.apache.coyote.http11.Http11Processor.process(Http11Proces

sor.java:799)

    [cactus]    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl

er.processConnection(Http11Protocol.java:705)

    [cactus]    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpo

int.java:577)

    [cactus]    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run

(ThreadPool.java:683)

    [cactus]    at java.lang.Thread.run(Thread.java:534)

    [cactus]

    [cactus] Testcase: testDoEndTag

    [cactus] [ERROR] TEST com.wellsfargo.taglib.web.TestXSSTag FAILED

 

BUILD FAILED

File...... C:\Documents and
Settings\jayzou\.maven\cache\cactus-maven-1.7\plugin

.jelly

Element... ant:fail

Line...... 593

Column.... 42

At least one test had a failure!

Total time: 38 seconds

Finished at: Wed May 04 18:02:38 PDT 2005


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message