-
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
EurekaClient without Jersey throws unrecognized field exception #2756
Comments
You have the wrong |
I switched it for the correct EDIT1When I set EDIT2 Could it have to do with the fact that in com.netflix.appinfo.InstanceInfo the field @ryanjbaxter this could be a bug? |
Possibly but I dont see where in your samples you are doing anything with overridenstatus |
@ryanjbaxter I am not using that field from I couldn't identify yet why it does that because when I look at thanks |
I am trying to run your demo-eurekaclient sample to reproduce the problem but cant because of this dependency
|
@ryanjbaxter sorry, you can download thanks very much for your help |
The app is not compiling after building that app. I suggest you simplify your demo and remove the unnecessary components that are not needed to reproduce the issue. |
👍 to what ryan says. I am unable to replicate the problem with a minimal sample (created from start.spring.io). Please update your sample to be minimal. |
@ryanjbaxter @spencergibb |
I am having the issue still with 2.0.0.RC1 when excluding the JerseyClient. The Spring Eureka Server and client are using the same versions. The client can register fine, but cannot pull the registry without this error.
|
@maximusfloydus this should be fixed in Finchley.RC1, what version are you using? |
Yes, I am using Finchley.RC1 -> SpringCloudNetfix 2.0.0.RC1 -> Eureka-client 1.8.8. If you are not using Jersey client, I don't believe EurekaJacksonCodec.java is ever used. If I switch back to the Jersey1 client, it works fine. Of course, I have other conflicts with the Jersey client, that is why I stopped using it. |
Then please open another issue with a sample that reproduces the problem |
Hi,
I have an eureka server - demo-eurekaserver - and two registering services - demo-eurekaclient and demo-feignclient all using
One of the services (demo-feignclient) uses the eureka client dependency
and registers fine.
The other service demo-eurekaclient uses the EuerkaClient dependency without jersey as documented here.
I had to include the version below because it complained about missing version (despite having followed the maven setup here
and it throws
Unrecognized field "overriddenStatus" (class com.netflix.appinfo.InstanceInfo)
Thanks for the help
The text was updated successfully, but these errors were encountered: