输出的格式:2022-04-05T23:56:53
修改为如下:
步骤:
1.添加依赖:
<!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>5.3.18</version>
</dependency