Closed fabiocarvalho777 closed 2 years ago
I believe now, although the HTTP clients versions do need to be upgraded and aligned with Feign, the specific classpath issue mentioned above was caused by the application using Mocca, which brought a very old version of org.jetbrains.kotlin:kotlin-stdlib
(1.2.71).
Apparently Mocca, when used with OkHttp, is bringing conflicting versions of Kotlin libraries, causing runtime issues to applications using Mocca with OkHttp. Here is an example of the exception:
And here is an example of the conflict (notice the okhttp version used by
mocca-okhttp
differs from the one used byfeign-okhttp
):Important notes