本地执行代码没有问题,在服务器就出错了
想请教一下是什么原因导致的,怎么解决
com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type java.time.Instant
from String "2022-02-18 15:51:24": Failed to deserialize java.time.Instant: (java.time.DateTimeException) Unable to obtain Instant from TemporalAccessor: {},ISO resolved to 2022-02-18T15:51:24 of type java.time.format.Parsed at [Source: UNKNOWN; line: -1, column: -1]