webflux-6.x-plugin throws NoSuchMethodError on Spring Framework 7 (Spring Boot 4) — no webflux-7.x plugin available #14047
What happened?When deploying a Spring Cloud Gateway application built on Spring Boot 4.0.3 (Spring Framework 7.x) with SkyWalking Java Agent 9.7.0, the agent fails to instrument WebFlux endpoints and throws a The gateway service produces zero traces in SkyWalking UI — no entry spans, no topology node, completely invisible. |
Replies: 1 comment
|
Confirmed, and thanks for the precise stack trace — this is an agent bug, not your configuration. Fix is up as apache/skywalking-java#826. Root causeSpring Framework 7.0 dropped the
Your "zero traces" observation is the expected consequence, not a second problem: One thing worth flagging that isn't obvious from your report: this is not limited to people who enabled the WebFlux plugin. What we fixedA bytecode sweep of every plugin jar, resolving all
We also added proper Spring-generation witnesses to both WebFlux plugins. The only guard was Separately, while investigating we found Version support
VerifiedNew plugin test scenarios drive a full round-trip and assert the cross-process ref, since that is the only thing that proves the In the meantimeUntil 9.8.0 ships, you can build the agent from the PR branch ( |
Confirmed, and thanks for the precise stack trace — this is an agent bug, not your configuration. Fix is up as apache/skywalking-java#826.
Root cause
Spring Framework 7.0 dropped the
MultiValueMapcontract fromHttpHeaders(spring gh-33913), which removed theList get(Object)overload:DispatcherHandlerHandleMethodInterceptor:59was compiled agai…