Hello everybody,

looks like camel-example-cdi-rest-servlet does not work with the jetty9 version used by camel 2.21. On builds.apache.org there is always this test failure:

org.apache.maven.surefire.junit4.JUnit4Provider.org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest
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)

I can replicate this locally. It may be caused by an incompatibility with the arquillian-jetty-embedded-9 dependency of camel-example-cdi-rest-servlet. Updating the dependency to the most recent version 1.0.0.CR3 from 28-Jan-2016 does not help.

Any ideas on how to fix this?

Thanks,

Pascal

Reply via email to