在启动命令中加入参数配置即可:-Duser.timezone=GMT+08
java -Duser.timezone=GMT+08 -jar xxxx.jar
京公网安备 11010502049817号