Skip to content
This repository has been 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

Open
lishiyao1998 opened this issue Apr 30, 2021 · 2 comments
Open

Comments

@lishiyao1998
Copy link

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

@FqqCS
Copy link

FqqCS commented Jun 4, 2021

@metacosm will u support this?

@metacosm
Copy link
Member

metacosm commented Jun 4, 2021

Please try with version 1.7.7.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants