Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchMethodError: 'io.opentracing.Scope io.opentracing.Tracer$SpanBuilder.startActive(boolean) #332

Open
VovkaSOL opened this issue Oct 20, 2021 · 1 comment

Comments

@VovkaSOL
Copy link

VovkaSOL commented Oct 20, 2021

Hi, i found problem, my dependency tree is:
+--- io.opentracing.contrib:opentracing-spring-jaeger-cloud-starter:3.1.1
| | +--- io.opentracing.contrib:opentracing-spring-jaeger-starter:3.1.1 (*)
| | --- io.opentracing.contrib:opentracing-spring-cloud-starter:0.5.0
| | +--- io.opentracing.contrib:opentracing-spring-rabbitmq-starter:2.0.5
| | | --- io.opentracing.contrib:opentracing-spring-rabbitmq:2.0.5

in pom of spring-cloud-starter:0.5.0 no version param for opentracing-spring-rabbitmq-starter.
image

In my project i see error in runtime:
[m java.lang.NoSuchMethodError: 'io.opentracing.Scope io.opentracing.Tracer$SpanBuilder.startActive(boolean)'
at io.opentracing.contrib.spring.rabbitmq.RabbitMqTracingUtils.buildReceiveSpan(RabbitMqTracingUtils.java:45) ~[opentracing-spring-rabbitmq-2.0.5.jar!/:?]

May be need to fix used version of starters in pom spring-cloud-starter:0.5.0. May be this usie help people to find this version compability problem

@VovkaSOL
Copy link
Author

VovkaSOL commented Oct 20, 2021

when change io.opentracing.contrib:opentracing-spring-rabbitmq:2.0.5 to 3.0.1 all work good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant