Skip to content

Tag: orika

How to map java.time.LocalDate field with Orika?

This occurs because LocalDate is not a JavaBean (it has no zero-arg constructor) To fix this, you need to create a LocalDateConverter : and then register it adding this line : As a shorcut, you can instead register the provided “PassThroughConverter” as suggested by Adam Michalik so Orika doesn’t try to instanciate a new “LocalDate” : Answer This occurs because