neronsoda commented on issue #7920: URL: https://github.com/apache/incubator-seata/issues/7920#issuecomment-3745257420
> It looks like the issue has now been resolved ā thank you! Iād like to know which version of Apollo Client supports OkHttp 4.x. If we could switch to a compatible version, that would be ideal. Regarding the JwtAuthenticationTokenFilter issue you mentioned earlier, would you mind creating a new issue for it? Additionally, I believe we should enforce that the console and namingserver modules must be compiled with Spring Boot 3 and JDK 25. When building with Spring Boot 2, these two modules should not be compiled or tested at all. I first added OkHttp version property (`<okhttp.version>4.9.3</okhttp.version>`) and OkHttp `<dependency>` to `<dependencyManagement>` in `seata-dependencies/pom.xml`, but the `NoSuchMethodError` still occurred. ``` java.lang.NoSuchMethodError: 'void okhttp3.internal.Internal.initializeInstanceForTests()' ``` **Problem:** 1. `seata-dependencies/pom.xml` had MockWebServer version property 2. `config/seata-config-apollo/pom.xml` had MockWebServer dependency **without explicit version** 3. When building with Spring Boot 2.x, its BOM forced MockWebServer 3.14.9 4. MockWebServer 3.14.9 + OkHttp 4.9.3 = incompatible ā `NoSuchMethodError` **Solution:** Added both `okhttp` and `mockwebserver` to `<dependencyManagement>` in `seata-dependencies/pom.xml` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
