The new io.minio.minio java dependency version 8.6.0 upgraded com.squareup.okhttp3.okhttp transitive dependency from 4.12.0 to 5.1.0.
However this version seems broken, as its jar does not contain any Java class files. (see screenshot in my IDE)
In my case thus compilation thus fails because the HttpUrl class is not found and I call the .endpoint() method of the MinioClient.Builder. leading to the error:
Class file for okhttp3.HttpUrl not found.
I checked the release notes for okhttp 5.x and it looks like the artifacts where split into dedicated JVM / Android versions. Maybe this is the root of the issue here? (see https://square.github.io/okhttp/changelogs/changelog/#version-500)
The new
io.minio.miniojava dependency version8.6.0upgradedcom.squareup.okhttp3.okhttptransitive dependency from4.12.0to5.1.0.However this version seems broken, as its jar does not contain any Java class files. (see screenshot in my IDE)
In my case thus compilation thus fails because the
HttpUrlclass is not found and I call the.endpoint()method of theMinioClient.Builder. leading to the error:Class file for okhttp3.HttpUrlnot found.I checked the release notes for
okhttp5.x and it looks like the artifacts where split into dedicated JVM / Android versions. Maybe this is the root of the issue here? (see https://square.github.io/okhttp/changelogs/changelog/#version-500)