Describe the bug springcloud Hoxton.RC2 springboot 2.2.1.RELEASE
Sample
Cannot construct instance of org.springframework.cloud.netflix.eureka.EurekaServiceInstance (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
Comment From: spencergibb
It's not made for serialization. Please use Dto or transfer object
Comment From: cashZhang27
SC LoadBalancer is using EurekaServiceInstance as deserialize entity
Comment From: spencergibb
We're moving to in memory only for the cache so it won't need to be serialized
Comment From: cashZhang27
I have serialization problems when I use redis reactive, you can try Webflux, data-redis-reaction, sc load balancer starter and Jackson2JsonRedisSerializer will report errors, EurekaServiceInstance do not have default constructors https://gitee.com/cashzhang27/test-java/tree/master/test-cloud/test-cloud-webflux is my demo project
Comment From: spencergibb
I understand, but next release redis won't be used to cache the load balancer instances
Comment From: cashZhang27
thank you
Comment From: arke56
Hi guys, did you have any solutions? we the newest load balancer version (3.1.1)
I have serialization problems when I use redis reactive, you can try Webflux, data-redis-reaction, sc load balancer starter and Jackson2JsonRedisSerializer will report errors, EurekaServiceInstance do not have default constructors https://gitee.com/cashzhang27/test-java/tree/master/test-cloud/test-cloud-webflux is my demo project
Hi, did you have any solutions? I found gateway(2.1.5.RELEASE) + load balancer(newest 3.3.1 version) always exists the problem. i try to upgrade eureka client to 2.1.6.Release, the problem not be resolved. has you problem been solved?