java.time.format.DateTimeParseException: Text '2020-04-03 14:57:41' could not be parsed at index 10

很明显,时间转换错误orm 代码报错行:im LocalDateTime.parse("2020-04-03 14:57:41"); 解决方案:时间 DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); LocalDateTime parse = LocalDateTime.parse("2020-0
相关文章
相关标签/搜索