-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
pom.xml do not get the necessary to run the example.java #99
Comments
Can you import
or is the editor just not suggesting it? |
It is a little strange because the package explore do not show anything "inside" the Config.class tree item. See in the package explore that there is a KubeConfig.class file, and it can be expanded, showing the KubeConfig class. It cannot be made with the Config.class file. So, the example given by this kubernetes-client java cannot work properly. Finally, the editor suggest to me to create a Config class to solve this problem. So, it means that it is not recognizing the Config class in the maven dependencies |
Are you able to build your code when you import the config class? If so, maybe something needs to be reconfigured in your editor. |
As an example, we're using this client at the 1.0.0-beta1 release just fine here: https://github.com/spinnaker/clouddriver/blob/master/clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/security/KubernetesV2Credentials.java#L152 |
I will try to use another IDE so. In fact, when I try to use "alt + F5" to check the "force update of snapshots/releases", the editor do not save what I just did. I know that because I open it again and see it unchecked. Maybe it is really a eclipse problem. I have tryed to use it on windows, besides ubuntu. I guess it is time to try .... Netbeans. Thanks for your help |
I finally fixed it! Thank you! |
Glad it works! |
Hi! I set the pom with the specified maven dependency, but the is no Config class to import.
What is wrong?
check the pom.xml
The text was updated successfully, but these errors were encountered: