Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Comment From: hubvarun
feign.codec.DecodeException: Type definition error: [simple type, class com.blah.blah]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of com.blahblah.Institution (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information at [Source: (PushbackInputStream); line: 21, column: 15] (through reference chain: com.blah.blah.FinancialMessageImpl["sender"])
Comment From: OlgaMaciaszek
It seems you don't have appropriate constructors/ setters in your class for Jackson deserialisation. This is not a Spring Cloud issue at all.
Comment From: hubvarun
It seems you don't have appropriate constructors/ setters in your class for Jackson deserialisation. This is not a Spring Cloud issue at all.
Yes you are right. But the problem was I wasn't doing the Jackson deserialization. Which I refactored and it worked
Comment From: mohan-XD
Hi @hubvarun, I'm try to do the same thing and facing a similar kind of issue, can you tell me how did you solve it?
Error msg : throws java.lang.Exception' threw exception; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Not an array:
Caused by: org.apache.avro.AvroRuntimeException: Not an array: