Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12040

camel-example-cdi-rest-servlet - Test error due jetty JAR problem

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.21.0
    • Component/s: examples, tests
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      camel-itest-cdi-servlet fails with error like

      [INFO] Running org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest
      2017-11-26 22:31:08,494 [main ] INFO log - Logging initialized @722ms to org.eclipse.jetty.util.log.Slf4jLog
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.576 s <<< FAILURE! - in org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest
      [ERROR] org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest Time elapsed: 0.575 s <<< ERROR!
      java.lang.NoSuchMethodError: org.eclipse.jetty.server.handler.HandlerCollection.<init>(Z)V
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:239)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:160)

        Attachments

          Activity

            People

            • Assignee:
              onders ├ľnder Sezgin
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: