[ https://issues.apache.org/jira/browse/CAMEL-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266646#comment-16266646 ]
ASF GitHub Bot commented on CAMEL-12040: ---------------------------------------- GitHub user onders86 opened a pull request: https://github.com/apache/camel/pull/2122 CAMEL-12040 - use jetty9.2 where init supported You can merge this pull request into a Git repository by running: $ git pull https://github.com/onders86/camel CAMEL-12040 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2122.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2122 ---- commit d7fbe901a5d3ef28502bc4b951bbd1f4cef0799e Author: onders86 <ondersez...@gmail.com> Date: 2017-11-27T10:47:54Z CAMEL-12040 - use jetty9.2 where init supported ---- > camel-example-cdi-rest-servlet - Test error due jetty JAR problem > ----------------------------------------------------------------- > > Key: CAMEL-12040 > URL: https://issues.apache.org/jira/browse/CAMEL-12040 > Project: Camel > Issue Type: Test > Components: examples, tests > Reporter: Claus Ibsen > Fix For: 2.21.0 > > > 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) -- This message was sent by Atlassian JIRA (v6.4.14#64029)