Github user mohdshariq1 commented on the pull request:
https://github.com/apache/cxf/commit/ca221ae695f8947a15213a050116e33eac1d449f#commitcomment-21967614
@adriancole @reta I downloaded the code and tried to recompile....to get
the latest snapshot...and then tried to run the server code...and got
this...let me know if i may be missing something...
May 01, 2017 7:45:26 PM
org.eclipse.jetty.server.handler.ContextHandler$Context log
WARNING: unavailable
java.lang.ClassCastException:
org.apache.cxf.tracing.brave.jaxrs.BraveFeature cannot be cast to
org.apache.cxf.feature.Feature
at
org.apache.cxf.jaxrs.utils.ResourceUtils.createApplication(ResourceUtils.java:857)
at
org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:511)
at
org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:121)
at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:640)
at
org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:419)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:892)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
at
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:422)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:389)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at demo.jaxrs.tracing.server.Server.<init>(Server.java:40)
at demo.jaxrs.tracing.server.Server.main(Server.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:291)
at java.lang.Thread.run(Thread.java:748)
May 01, 2017 7:45:26 PM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector@21ee09b3{HTTP/1.1,[http/1.1]}{0.0.0.0:9000}
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---