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

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-347518416
 
 
   tried many things.
   as a final step i have upgraded arquillian-jetty-embedded-9 to 1.0.0.CR3.
   this time,
   `[INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.916 s <<< FAILURE! - in 
org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest
   [ERROR] org.apache.camel.example.cdi.rest.servlet.CdiRestServletTest  Time 
elapsed: 0.914 s  <<< ERROR!
   java.lang.RuntimeException: Could not create new instance of class 
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
   Caused by: java.lang.reflect.InvocationTargetException
   Caused by: java.lang.NoClassDefFoundError: 
org/eclipse/jetty/deploy/AppProvider
   Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jetty.deploy.AppProvider
   `

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