Failing in Deserializing Object having java.time.OffsetDateTime using spinjar


COdeis failing with below Exception while deserializing a Json object having java.time.OffsetDateTime I am using spinjar which uses

Caused by: Cannot construct instance of java.time.OffsetDateTime (no Creators, like default construct, exist): no String-argument constructor/factory method to deserialize from String value (‘2019-01-18T08:36:12.179Z’)
at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.camunda.tutorial.twitterqa.models.FlowContext[“dateTime”])

How can I configure ObjectMapper
I saw this
but still not able to Configure ObjectMapper

1 Like

@Amit_keshri Could you please fix your link :slight_smile: :point_down:

So many views but no answer?!
Would be nice to have a solution for this issue :pray: :confounded: