[ https://issues.apache.org/jira/browse/CXF-7792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546534#comment-16546534 ]
bambus commented on CXF-7792: ----------------------------- I changed the pom to: {code:java} <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>3.2.5</version> </dependency> <!-- This dependency is needed if you're using the Jetty container --> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>3.2.5</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>3.2.5</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-integration-tracing-brave</artifactId> <version>3.2.5</version> </dependency> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> <version>9.4.11.v20180605</version> </dependency> {code} After making clean install I have this error: {code:java} Error executing command: Error executing command on bundles: Error starting bundle 9: Unable to resolve java.demo.jaxws.tracing [9](R 9.0): missing requirement [java.demo.jaxws.tracing [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=brave)(version>=4.6.0)(!(version>=5.0.0))) Unresolved requirements: [[java.demo.jaxws.tracing [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=brave)(version>=4.6.0)(!(version>=5.0.0)))] {code} > Distributed Tracing with OpenZipkin Brave and OSGi > -------------------------------------------------- > > Key: CXF-7792 > URL: https://issues.apache.org/jira/browse/CXF-7792 > Project: CXF > Issue Type: Wish > Components: Tracing Brave > Affects Versions: 3.2.5 > Reporter: bambus > Priority: Major > > I have followed your example and brave example for implementing brave in cxf > based application. After I added brave I could not package it like bundle. I > always get different errors. Error like: Caused by: > java.lang.NoClassDefFoundError: zipkin/reporter/Reporter > Another one: Caused by: java.lang.ClassCastException: Cannot cast > org.apache.cxf.service.factory.FactoryBeanListenerManager to > org.apache.cxf.service.factory.FactoryBeanListenerManager > I am using Service Mix 7.0.1 with Karaf 4.0.7. > Can you help me how to pack it like as a bundle. > In this example that thing is missing: > [https://cwiki.apache.org/confluence/display/CXF20DOC/Using+OpenZipkin+Brave#UsingOpenZipkinBrave-SpringXML-Configuration] > I have configured the blueprint like in the example. -- This message was sent by Atlassian JIRA (v7.6.3#76005)