cause java.lang.NoSuchMethodError: io.opentracing.ScopeManager.activeSpan()Lio/opentracing/Span;

cause java.lang.NoSuchMethodError: io.opentracing.ScopeManager.activeSpan()Lio/opentracing/Span;

方案:

将引入的io.opentracing版本调到0.32.0

java.lang.NoClassDefFoundError: io/opentracing/Tracer

方案:

pom文件引入以下依赖:

 <dependency>
            <groupId>io.opentracing</groupId>
            <artifactId>opentracing-api</artifactId>
            <version>0.31.0</version>
        </dependency>
        <dependency>
            <groupId>io.opentracing</groupId>
            <artifactId>opentracing-noop</artifactId>
            <version>0.31.0</version>
        </dependency>
上一篇:【JavaScript基础】图片切换


下一篇:使用C/C++中的itoa将整数转换为二进制字符串