funky-eyes opened a new issue, #7920: URL: https://github.com/apache/incubator-seata/issues/7920
### Check Ahead - [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate. - [ ] I am willing to try to fix this bug myself. ### Ⅰ. Issue Description https://github.com/apache/incubator-seata/actions/runs/20753876763/job/59590388727 ``` Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project seata-common: Compilation failure: Compilation failure: Error: /Users/runner/work/incubator-seata/incubator-seata/common/src/main/java/org/apache/seata/common/util/HttpClientUtil.java:[108,30] no suitable method found for create(java.lang.String,okhttp3.MediaType) Error: method okhttp3.RequestBody.create(okhttp3.MediaType,java.lang.String) is not applicable Error: (argument mismatch; java.lang.String cannot be converted to okhttp3.MediaType) Error: method okhttp3.RequestBody.create(okhttp3.MediaType,okio.ByteString) is not applicable Error: (argument mismatch; java.lang.String cannot be converted to okhttp3.MediaType) Error: method okhttp3.RequestBody.create(okhttp3.MediaType,byte[]) is not applicable Error: (argument mismatch; java.lang.String cannot be converted to okhttp3.MediaType) Error: method okhttp3.RequestBody.create(okhttp3.MediaType,java.io.File) is not applicable Error: (argument mismatch; java.lang.String cannot be converted to okhttp3.MediaType) ``` I suspect that different versions of Spring Boot depend on different versions of OkHttp, which could cause compatibility issues. To avoid conflicts arising from changes in Spring Boot versions, we should manually specify a fixed, reliable version of OkHttp 3. ### Ⅱ. Describe what happened _No response_ ### Ⅲ. Describe what you expected to happen _No response_ ### Ⅳ. How to reproduce it (as minimally and precisely as possible) _No response_ ### Ⅴ. Anything else we need to know? _No response_ ### Ⅵ. Environment _No response_ -- 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]
