赞
踩
报错信息
JSON parse error: Cannot deserialize value of type `java.time.LocalDateTime` from String "2024-05-30T16:00:00.000Z": Failed to deserialize java.time.LocalDateTime: (java.time.format.DateTimeParseException) Text '2024-05-30T16:00:00.000Z' could not be parsed at index 10; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.time.LocalDateTime` from String "2024-05-30T16:00:00.000Z": Failed to deserialize java.time.LocalDateTime: (java.time.format.DateTimeParseException) Text '2024-05-30T16:00:00.000Z' could not be parsed at index 10 at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 141] (through reference chain: com.metasoft.modules.system.entity.User["validityPeriod"])
如何解决呢?
- column: [ {
- label: '账号过期时间',
- prop: 'validityPeriod',
- type: 'date',
- format: 'YYYY-MM-DD HH:mm:ss',
- valueFormat: 'YYYY-MM-DD HH:mm:ss',
- span: 24,
- },
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。