I\'m working on converting some models in a spring-boot REST API app to use java 8\'s java.time.LocalDateTime instead of joda\'s DateTime. I want the t
Your ObjectMapper bean must be marked as @Primary in order to be picked up by Spring. Alternatively, you can just create a JavaTimeModule bean and it will get picked up by Spring and added to the default object mapper.
You've probably seen it already but take a look at the official documentation.