0

I need to import a json file which has a date field :

enter image description here

With the use of ObjectMapper, want to map the Json file into a Java Object (BusinessPartnerDto). In the Java Object I've a property :

enter image description here

An Exception is thrown at the statement mapper.readValue(...)

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of java.time.LocalDate

enter image description here

How should a date be read into a java.time.LocalDate ?

user2023141
  • 549
  • 3
  • 6
  • 20

0 Answers0