The sever time reprents more than one tie zoe.

简介: The sever time reprents more than one tie zoe.

```java

This application has no explicit mapping for /error, so you are seeing this as a fallback.


Sat May 30 18:13:05 CST 2020

There was an unexpected error (type=Internal Server Error, status=500).

Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: The server time zone value '?????????' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.


```

翻译为:

此应用程序没有针对/错误的显式映射,因此您将此视为回退。 卫星5月30日18:13:05CST2020有一个意外的错误(类型=内部服务器错误,状态=500)。 未能获得JDBC连接;嵌套异常java.sql.SQLException:服务器时区值‘????????‘ 未识别或表示多个时区。 如果要使用时区支持,则必须配置服务器或JDBC驱动程序(通过“服务器时区”配置属性)以使用更具体的时区值。


**这是由于数据库和系统时区差异所造成的,在jdbc连接的url后面加上serverTimezone=GMT即可解决问题**

目录
相关文章
|
6月前
|
测试技术
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法
237 0
|
6月前
|
数据库连接
数据库连接的时区问题 The server time zone value is unrecognized
数据库连接的时区问题 The server time zone value is unrecognized
100 0
|
关系型数据库 MySQL Java
MySQL 数据库时区设置方法,“The server time zone value ‘�й���׼ʱ��‘ is unrecognized or represents ...” 问题解决
MySQL 数据库时区设置方法,“The server time zone value ‘�й���׼ʱ��‘ is unrecognized or represents ...” 问题解决
461 0
|
网络安全 数据库
运行项目时出现Sat May 15 20:00:19 CST 2021 WARN: Establishing SSL connection without server‘s identity veri
运行项目时出现Sat May 15 20:00:19 CST 2021 WARN: Establishing SSL connection without server‘s identity veri
|
关系型数据库 数据库 PostgreSQL
pg_ctl: server did not start in time
postgresql 启动超时异常,可怎么解决
pg_ctl: server did not start in time
|
Java 数据库连接
JDBC - The server time zone value ‘???‘ is unrecognized or represents more than one time zone
JDBC - The server time zone value ‘???‘ is unrecognized or represents more than one time zone
101 0
|
网络安全
Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义
Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义
346 0
|
JavaScript 前端开发