I need to import a json file which has a date field :
With the use of ObjectMapper, want to map the Json file into a Java Object (BusinessPartnerDto). In the Java Object I've a property :
An Exception is thrown at the statement mapper.readValue(...)
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of java.time.LocalDate
How should a date be read into a java.time.LocalDate ?