Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When trying to run a servlet test using the jetty integration and Jetty 5.1.4, the test exiteted with a NoSuchMethodError:java.lang.NoSuchMethodException: org.mortbay.jetty.servlet.FilterHolder.addAppliesTo(java.lang.String)
at java.lang.Class.getMethod(Class.java:1581)
at org.apache.cactus.extension.jetty.JettyTestSetup.addFilterRedirector(JettyTestSetup.java:488)
at org.apache.cactus.extension.jetty.JettyTestSetup.setUp(JettyTestSetup.java:221)
at org.apache.cactus.extension.jetty.JettyTestSetup$1.protect(JettyTestSetup.java:165)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at org.apache.cactus.extension.jetty.JettyTestSetup.run_aroundBody0(JettyTestSetup.java:174)
at org.apache.cactus.extension.jetty.JettyTestSetup.run_aroundBody1$advice(JettyTestSetup.java:224)
at org.apache.cactus.extension.jetty.JettyTestSetup.run(JettyTestSetup.java)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
It works nicely with Jetty 4.2.24.