@ConditionalOnProperty(name = "opentracing.spring.cloud.mongo.enabled", havingValue = "true", matchIfMissing = true)
public class MongoTracingAutoConfiguration extends MongoAutoConfiguration {

    private Tracer tracer;

    public MongoTracingAutoConfiguration(@Autowired(required = false) MongoProperties properties, ObjectProvider options, Environment environment, Tracer tracer) {
        super(properties, options, environment); //******* error Expected 0 arguments but found 3
        this.tracer = tracer;
    }

    @override //***** error Method does not override method from its superclass
    public MongoClient mongo() {
        MongoClient mongo = super.mongo(); // **** Expected 3 arguments but found 0
        return new TracingMongoClient(tracer, mongo.getAllAddress(), mongo.getCredentialsList(), mongo.getMongoClientOptions());
    }

}

Comment From: wilkinsona

@sumit-gurav A snippet of code with no explanation really doesn't give us enough to help you with whatever problem you may be facing. Looking at the code snippet, this also appears to be a duplicate of the issues that you opened yesterday so I am going to close this issue.