java SSM项目搭建-- The server time zone value '?й???????' is unrecognized or represents more tha

Posted 羽化

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java SSM项目搭建-- The server time zone value '?й???????' is unrecognized or represents more tha相关的知识,希望对你有一定的参考价值。

 

出现  错误

 The server time zone value ‘?й???????‘ is unrecognized or represents more than one time zone

 

找到jdbc 数据库连接字符串, 

加上?serverTimezone=UTC

?serverTimezone=UTC
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="url" value="jdbc:mysql://localhost:3306/xxx?serverTimezone=UTC"/>
        <property name="username" value="root"/>
        <property name="password" value="123456"/>
    </bean>

 


以上是关于java SSM项目搭建-- The server time zone value '?й???????' is unrecognized or represents more tha的主要内容,如果未能解决你的问题,请参考以下文章

zookeeper集群搭建Exception when following the leader java.io.EOFException

java项目中SSM框架怎样搭建是java项目还是web项目,有那些细节需要注意。

IDEA搭建ssm框架测试衍生出的问题The APR based Apache Tomcat Native library which allows optimal performance in pr

记录搭建ssm项目

Java SSM 项目实战 day01 界面搭建

Java SSM 项目实战 day02 功能介绍,SSM整合,数据库和IDEA的maven工程搭建,产品信息查询和添加