Commit 3adfeb372959f43d791579757395422b08c2de5d
1 parent
dac0c278
fix:【framework 框架】YudaoTracerAutoConfiguration 增加必须存在 Filter
Showing
1 changed file
with
2 additions
and
1 deletions
yudao-framework/yudao-spring-boot-starter-monitor/src/main/java/cn/iocoder/yudao/framework/tracer/config/YudaoTracerAutoConfiguration.java
| @@ -21,7 +21,8 @@ import org.springframework.context.annotation.Bean; | @@ -21,7 +21,8 @@ import org.springframework.context.annotation.Bean; | ||
| 21 | @AutoConfiguration | 21 | @AutoConfiguration |
| 22 | @ConditionalOnClass(name = { | 22 | @ConditionalOnClass(name = { |
| 23 | "org.apache.skywalking.apm.toolkit.opentracing.SkywalkingTracer", | 23 | "org.apache.skywalking.apm.toolkit.opentracing.SkywalkingTracer", |
| 24 | - "io.opentracing.Tracer" | 24 | + "io.opentracing.Tracer", |
| 25 | + "jakarta.servlet.Filter" | ||
| 25 | }) | 26 | }) |
| 26 | @EnableConfigurationProperties(TracerProperties.class) | 27 | @EnableConfigurationProperties(TracerProperties.class) |
| 27 | @ConditionalOnProperty(prefix = "yudao.tracer", value = "enable", matchIfMissing = true) | 28 | @ConditionalOnProperty(prefix = "yudao.tracer", value = "enable", matchIfMissing = true) |