com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type java.time.Instant from String "2015-02-15T10:15:00Z[GMT]": Text '2015-02-15T10:15:00Z[GMT]' could not be parsed, unparsed text found at index 20 at [Source: "2015-02-15T10:15:00Z[GMT]"; line: 1, column: 1]

Hot problem!
This exception has a lot of traffic. You can help 29 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bjornharvold
, 1 year ago
Can not deserialize value of type java.time.Instant from String "2015-02-15T10:15:00Z[GMT]": Text '2015-02-15T10:15:00Z[GMT]' could not be parsed, unparsed text found at index 20 at [Source: "2015-02-15T10:15:00Z[GMT]"; line: 1, column: 1]
com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type java.time.Instant from String "2015-02-15T10:15:00Z[GMT]": Text '2015-02-15T10:15:00Z[GMT]' could not be parsed, unparsed text found at index 20 at [Source: "2015-02-15T10:15:00Z[GMT]"; line: 1, column: 1]
at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1952)
at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1777)
at com.fasterxml.jackson.datatype.jsr310.deser.InstantDeserializer.deserialize(InstantDeserializer.java:198)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3789)
at com.traveliko.platform.base.config.JacksonConfigTest.testZonedDateTime(JacksonConfigTest.java:77)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.