Skip to content
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

NoSuchMethodError when trying dekorate on brand new Spring Boot project #1063

Open
ajschutte opened this issue Sep 19, 2022 · 5 comments
Open

Comments

@ajschutte
Copy link

Tried out kubernetes-spring-starter 3.0.0. Looks like the starter is pulling in conflicting dependency versions.

Fatal error compiling: java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.api.model.ServicePortFluent io.fabric8.kubernetes.api.model.ServicePortBuilder.withNewTargetPort(java.lang.Object)' -> [Help 1]

@aureamunoz
Copy link
Collaborator

Hi,

Do you have a reproducer?

Thank you

@ajschutte
Copy link
Author

ajschutte commented Sep 20, 2022 via email

@iocanel
Copy link
Member

iocanel commented Sep 20, 2022

This is seems related to upgrading to kubernetes-client 6.0.0 where withNewTargetPort port was relplaced by withTargetPort

@steve-todorov
Copy link

I'm also hitting this issue. Has there been any work on this yet? Do you still need a reproducing repo?

@aureamunoz
Copy link
Collaborator

Hello, Do you have a reproducer?

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

No branches or pull requests

4 participants