Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

istio 1.7.7 and kubernetes-client 5.1.0 , ListOptions Exception #135

@lishiyao1998

Description

@lishiyao1998

The version I'm using is

    <!-- istio-client -->
    <dependency>
        <groupId>me.snowdrop</groupId>
        <artifactId>istio-client</artifactId>
        <version>1.7.7</version>
    </dependency>

    <dependency>
        <groupId>io.fabric8</groupId>
        <artifactId>kubernetes-client</artifactId>
        <version>5.1.0</version>
    </dependency>

but ,When I try to list virtualService ,something is wrong ;
The code :
istioClient.v1alpha3VirtualService().list(listOptions);

The Exception :
Exception in thread "main" java.lang.NoSuchMethodError: okhttp3.HttpUrl.get(Ljava/lang/String;)Lokhttp3/HttpUrl;
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.fetchListUrl(BaseOperation.java:174)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:677)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:85)

When I looked at the source code, I found that the version in the POM was inconsistent with the decompiled source code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions