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 | 21 | @AutoConfiguration |
| 22 | 22 | @ConditionalOnClass(name = { |
| 23 | 23 | "org.apache.skywalking.apm.toolkit.opentracing.SkywalkingTracer", |
| 24 | - "io.opentracing.Tracer" | |
| 24 | + "io.opentracing.Tracer", | |
| 25 | + "jakarta.servlet.Filter" | |
| 25 | 26 | }) |
| 26 | 27 | @EnableConfigurationProperties(TracerProperties.class) |
| 27 | 28 | @ConditionalOnProperty(prefix = "yudao.tracer", value = "enable", matchIfMissing = true) | ... | ... |