[ 
https://issues.apache.org/jira/browse/CAMEL-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268750#comment-16268750
 ] 

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-347530338
 
 
   after upgrading arquillian-jetty-embedded-9 to 1.0.0.CR3 and 
   adding 
   `
   <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-deploy</artifactId>
         <version>${jetty9-version}</version>
       </dependency>
   `
   
   and with jetty 9.4.6.v20170531 from parent/pom.xml
   
   the issue is still there.
   seems like the issue is due to 
   
   arquillian-jetty-embedded-9 JettyEmbeddedContainer's compatibility with 
jetty.
   not sure though..
   @astefanutti , could you take a look?
   

----------------------------------------------------------------
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)

Reply via email to