[ https://issues.apache.org/jira/browse/CAMEL-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270135#comment-16270135 ]
ASF GitHub Bot commented on CAMEL-12040: ---------------------------------------- onders86 closed pull request #2122: CAMEL-12040 - upgrade arquillian-jetty-embedded-9 and add jetty deploy dependency URL: https://github.com/apache/camel/pull/2122 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/examples/camel-example-cdi-rest-servlet/pom.xml b/examples/camel-example-cdi-rest-servlet/pom.xml index 2692c06444f..8a2f9c45d02 100755 --- a/examples/camel-example-cdi-rest-servlet/pom.xml +++ b/examples/camel-example-cdi-rest-servlet/pom.xml @@ -129,6 +129,12 @@ <version>${weld2-version}</version> <scope>runtime</scope> </dependency> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-deploy</artifactId> + <version>${jetty9-version}</version> + <scope>runtime</scope> + </dependency> </dependencies> @@ -154,7 +160,7 @@ <dependency> <groupId>org.jboss.arquillian.container</groupId> <artifactId>arquillian-jetty-embedded-9</artifactId> - <version>1.0.0.CR2</version> + <version>1.0.0.CR3</version> <scope>test</scope> <exclusions> <exclusion> @@ -186,7 +192,7 @@ <dependency> <groupId>org.jboss.arquillian.container</groupId> <artifactId>arquillian-jetty-embedded-9</artifactId> - <version>1.0.0.CR2</version> + <version>1.0.0.CR3</version> <scope>test</scope> <exclusions> <exclusion> ---------------------------------------------------------------- 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 > Assignee: Önder Sezgin > 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)