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

@sherry-ummen-zalando

Description

@sherry-ummen-zalando

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions