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即可解决问题**

目录
相关文章
|
3月前
|
前端开发 JavaScript API
Server-Sent Events)
服务器发送事件(Server-Sent Events,简称SSE)是一种基于HTTP协议的实时通信技术,允许服务器向客户端推送实时消息。与传统的轮询和长轮询相比,SSE提供了更高效和实时的数据推送机制。
46 2
|
3月前
|
测试技术
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 的解决办法
187 0
|
3月前
|
数据库连接
数据库连接的时区问题 The server time zone value is unrecognized
数据库连接的时区问题 The server time zone value is unrecognized
34 0
|
关系型数据库 MySQL Java
MySQL 数据库时区设置方法,“The server time zone value ‘�й���׼ʱ��‘ is unrecognized or represents ...” 问题解决
MySQL 数据库时区设置方法,“The server time zone value ‘�й���׼ʱ��‘ is unrecognized or represents ...” 问题解决
281 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
90 0
|
网络安全
Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义
Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义
313 0
|
网络协议 网络安全
JMeter: why connect time = 0?
JMeter: why connect time = 0?
JMeter: why connect time = 0?
how Kyma connection is established for the first time
how Kyma connection is established for the first time
92 0
how Kyma connection is established for the first time