Skip to content

okhttp3 depends on okio-3.6.0 and okio-jvm-3.6.0 which causes problems in Java-maven projects #1682

@rolfschumacher

Description

@rolfschumacher

Here is a part of my mvn dependency:tree.
I removed okio-3.6.0.jar form module path and my application worked.

[INFO] +- com.openai:openai-java:jar:3.0.2:compile
[INFO] | +- com.openai:openai-java-client-okhttp:jar:3.0.2:compile
[INFO] | | +- com.openai:openai-java-core:jar:3.0.2:compile
[INFO] | | | +- com.google.errorprone:error_prone_annotations:jar:2.33.0:compile
[INFO] | | | +- io.swagger.core.v3:swagger-annotations:jar:2.2.31:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.18.2:runtime
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.18.2:runtime
[INFO] | | | +- com.fasterxml.jackson.module:jackson-module-kotlin:jar:2.18.2:runtime
[INFO] | | | | - org.jetbrains.kotlin:kotlin-reflect:jar:1.8.10:runtime
[INFO] | | | +- com.github.victools:jsonschema-generator:jar:4.38.0:runtime
[INFO] | | | | - com.fasterxml:classmate:jar:1.7.0:runtime
[INFO] | | | +- com.github.victools:jsonschema-module-jackson:jar:4.38.0:runtime
[INFO] | | | - com.github.victools:jsonschema-module-swagger-2:jar:4.38.0:runtime
[INFO] | | +- com.squareup.okhttp3:okhttp:jar:4.12.0:runtime
[INFO] | | | - com.squareup.okio:okio:jar:3.6.0:runtime
[INFO] | | | - com.squareup.okio:okio-jvm:jar:3.6.0:runtime
[INFO] | | | - org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:runtime
[INFO] | | - com.squareup.okhttp3:logging-interceptor:jar:4.12.0:runtime
[INFO] | - org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.8.0:compile
[INFO] | - org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.8.0:compile

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions