Skip to content

Java 8 date/time type java.time.LocalDateTime not supported by default #3164

Closed
@esfomeado

Description

@esfomeado

Describe the bug
I have upgrade Jackson from 2.11.4 to 2.12.3 and not I get this exception:

Java 8 date/time type java.time.LocalDateTime not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling

Now I have to explicitly register the JavaTimeModule(). Is there any behavior change?

Thanks

Version information
2.12.3

To Reproduce
https://github.com/esfomeado/jackson-test

Java 8

Expected behavior
Should work the same way has the previous version.

Additional context
Spring Boot 2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions