-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
DiscoveryClientOptionalArgsConfiguration
in v2 still using the Jersey-1 classes.
#4176
Comments
@spencergibb It seems that there is some issue now because of changes with df9e581 With last snapshot build:
I have tried to add 'jakarta.ws.rs:jakarta.ws.rs-api' dependency but then application won't start at all:
|
@ztomic Can you open a new issue with steps to reproduce? |
Sure, I'll prepare sample to reproduce it |
@spencergibb Done, I hope that's enough. |
In DiscoveryClientOptionalArgsConfiguration.java class, one can see both
and
I believe first one is related to Jersey-3 and the second one is Jersey-1 class. Without having the Jersey-1 in the dependencies,
RestTemplate
orWebClient
is enabled. So in order to use Jersey-3, Jersey-1 should also be in the classpath which then later conflicts with Jersey-3 classes.The text was updated successfully, but these errors were encountered: