Skip to content

Help Needed! ProviderNotFoundException: No functional collector client provider found. Try adding a dependency on the tracer-okhttp or tracer-grpc artifact #283

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

Open
sherry-ummen-zalando opened this issue Mar 27, 2023 · 0 comments

Comments

@sherry-ummen-zalando
Copy link

I am having dependency issues with the lighstep trace library. With runtime exception

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'openTracingSupport.OpenTracingFilterConfiguration': Unsatisfied dependency expressed through field 'tracer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lightstepTracer' defined in class path resource [com/collection/tracing/OpenTracingSupport$OpenTracingConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.opentracing.Tracer]: Factory method 'lightstepTracer' threw exception; nested exception is com.lightstep.tracer.shared.CollectorClientProvider$ProviderNotFoundException: No functional collector client provider found. Try adding a dependency on the tracer-okhttp or tracer-grpc artifact

I have the following dependencies

implementation 'com.lightstep.tracer:lightstep-tracer-jre:0.30.5'
compileOnly 'com.lightstep.tracer:tracer-okhttp:0.30.3'

How can I resolve this?

Earlier I was using bundle jar, but since it had a non-compatible kotlin version. I had to move to the jre jar. But I am unable to get this working. Any help here?

@sherry-ummen-zalando sherry-ummen-zalando changed the title Help Needed!. Help Needed! ProviderNotFoundException: No functional collector client provider found. Try adding a dependency on the tracer-okhttp or tracer-grpc artifact Mar 27, 2023
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