Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-237

Jetty integration doesn't work with Jetty 5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8
    • 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.

      Attachments

        Activity

          People

            paranoiabla Petar Tahchiev
            lars.svensson Lars G. Svensson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: