关于new date()获取服务器时间与linux系统时间不一致的解决办法 2017.12.6 在catalina.sh 第一行添加一下脚本JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8 -Duser.timezone=GMT+08"