After Java references client-java of io.kubernetes, the project cannot be compiled normally.

This is just a record, and not many people may have encountered it. The client-java version used in my project is 5.0.0. Due to computer adjustments, when the project was moved to other computers, it was found that it could not be compiled normally.

Some computers can, some computers can't. Finally, after one day of debugging, it was found that the problem was caused by the client-java dependency package. Since the project has deprecated k8s, the dependency file was removed directly. The project compiles normally

 

I don’t know the reason at the moment. If you know, please reply below. Thank you.

Guess you like

Origin blog.csdn.net/Qensq/article/details/111479881