Skip to content

getting BeanDefinitionOverrideException while configuring Sleuth with Jaegar #1

@sunz1e

Description

@sunz1e

Hello Anoop, I am getting following exception while trying to use Open Tracing with Sleuth.
Did you face the same?

The bean 'tracer', defined in class path resource [org/springframework/cloud/sleuth/autoconfig/TraceAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [io/opentracing/contrib/java/spring/jaeger/starter/JaegerAutoConfiguration.class] and overriding is disabled.\n\nAction:\n\nConsider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true\n","logger":"org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter","thread":"main","level":"ERROR"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions