---
title: "How to Fix Jackson JSON Parse Error Can not construct instance of java.time.LocalDate"
url: https://daily.dev/posts/how-to-fix-jackson-json-parse-error-can-not-construct-instance-of-java-time-localdate-ey78eqsys
source_url: https://feeds.feedblitz.com/~/968126756/0/baeldung~How-to-Fix-Jackson-JSON-Parse-Error-Can-not-construct-instance-of-javatimeLocalDate
type: article
source: "Baeldung"
published: 2026-08-22T23:46:06.372Z
updated: 2026-08-22T23:46:31.523Z
tags: ["java", "spring-boot"]
reading_time: 4
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Fix Jackson JSON Parse Error Can not construct instance of java.time.LocalDate

**[Baeldung](https://daily.dev/sources/baeldung)** · 4 min read · 3 upvotes · 0 comments

## Summary

Explains why Jackson throws 'Can not construct instance of java.time.LocalDate' or 'Cannot deserialize value of type java.time.LocalDate from String' errors during JSON deserialization. Common causes include a missing Java Time module (jackson-datatype-jsr310 in Jackson 2.x, built into jackson-databind in Jackson 3.x), a JSON date format that doesn't match the expected ISO-8601 pattern, or using LocalDate when the JSON actually contains time information (requiring LocalDateTime instead). Includes a reference table mapping error messages to likely causes and fixes such as registering the Java Time module, using @JsonFormat with a custom pattern, or switching the target Java type.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://feeds.feedblitz.com/~/968126756/0/baeldung~How-to-Fix-Jackson-JSON-Parse-Error-Can-not-construct-instance-of-javatimeLocalDate>

## Questions this post answers

### Why does Jackson throw 'Can not construct instance of java.time.LocalDate' when deserializing JSON?

This happens most commonly because the Jackson Java Time module isn't registered. In Jackson 2.x, java.time support requires the separate jackson-datatype-jsr310 module; without it, Jackson tries to instantiate LocalDate like a regular object, which fails since LocalDate has no default or string constructor. Jackson 3.x builds this support directly into jackson-databind.

_daily.dev surfaces practical fixes like this for developers debugging Jackson serialization issues._

### How do I fix Jackson deserializing a date-time string into a LocalDate field with the wrong format?

Check whether the JSON date matches the default ISO-8601 format Jackson expects for LocalDate and LocalDateTime; if not, annotate the field with @JsonFormat specifying the exact pattern. Also confirm the target type is correct: LocalDate only stores a calendar date, so if the JSON includes hours, minutes, or seconds, switch the field to LocalDateTime instead.

_Developers wiring up JSON APIs in Java can find similar debugging walkthroughs on daily.dev._

### What's the difference in java.time support between Jackson 2.x and Jackson 3.x?

Jackson 2.x requires adding the separate jackson-datatype-jsr310 module and registering it (Spring Boot does this automatically when the module is on the classpath) to support LocalDate, LocalDateTime, and Instant. Jackson 3.x integrates this Java Time support directly into jackson-databind, removing the need for separate module registration.

_Track library changes like Jackson's module consolidation with daily.dev when planning a Java upgrade._

## Similar posts on daily.dev

- [Custom ObjectMapper with Jersey and Jackson](https://daily.dev/posts/custom-objectmapper-with-jersey-and-jackson-dnrvunwgw) · Baeldung · 2 upvotes · 0 comments
- [JSON Deserialization with Multiple Parameters Constructor Using Jackson](https://daily.dev/posts/json-deserialization-with-multiple-parameters-constructor-using-jackson-bfm9megxo) · Baeldung · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#spring-boot](https://daily.dev/tags/spring-boot)

[View this post on daily.dev](https://daily.dev/posts/how-to-fix-jackson-json-parse-error-can-not-construct-instance-of-java-time-localdate-ey78eqsys)
