Do you have the following artifact into your project ?
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
According to the spring source code, if the class com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
is present in your classpath, the JavaTimeModule
should be registered