-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.ClassNotFoundException: io.fabric8.kubernetes.client.DefaultKubernetesClient #4460
Comments
I don't think the kubernetes client will currently work with Java modules due to the split packages. Can you see if #4464 will work for your usage? |
Hi @pratapgowda007 |
@manusa Sure, please let me know once it's merged |
@rohanKanojia May I know the tentative release date for 6.2.x? |
I think we should be releasing in upcoming sprint. So within 2-3 weeks from now if everything goes as expected. |
Thank you |
java.lang.NoClassDefFoundError: io/fabric8/kubernetes/model/jackson/UnmatchedFieldTypeModule |
Make sure yuo don't have convergence issues with Spring Cloud or any other dependency that may bring in their own Kubernetes Client Version. |
Describe the bug
I'm using io.fabric8:kubernetes-client:6.1.1 and am running a simple client creation code:
module-info.java
Error:
In module-info.java, if I use
kubernetes.client
instead ofkubernetes.client.api
, then I'mgetting the below errorSince DefaultKubernetesClient is deprecated in 6.1.1, I'm using KubernetesClientBuilder.
Fabric8 Kubernetes Client version
6.1.1
Steps to reproduce
Expected behavior
Kubernetes client should be created without any errors
Runtime
other (please specify in additional context)
Kubernetes API Server version
other (please specify in additional context)
Environment
Windows
Fabric8 Kubernetes Client Logs
Additional context
The text was updated successfully, but these errors were encountered: