[ https://issues.apache.org/jira/browse/CAMEL-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268323#comment-16268323 ]
ASF GitHub Bot commented on CAMEL-12040: ---------------------------------------- onders86 commented on issue #2122: CAMEL-12040 - use jetty9.2 where init supported URL: https://github.com/apache/camel/pull/2122#issuecomment-347440567 This is the point i could get into. Not sure why classloader fails...  ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)