Centos系统 tomcat 中的应用与北京时间相差8小时时间:2023-03-08 19:29:37解决方法: 在 catalina.sh中的 JAVA_OPTS 加上 -Duser.timezone=GMT+08 启动时 startup.sh 会调用 catalina.sh。