文章浏览阅读2.7k次。现象当使用LocalDateTime 与字符串互转异常java.time.format.DateTimeParseException: Text ‘2020-07-07 20:08:16’ could not be parsed, unparsed text found at index 10String regStringTime = “2013-06-25”; DateTimeFormatterdateTimeFormatter = DateTimeFormatte......