zoukankan      html  css  js  c++  java
  • idea报错: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 configu

    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.

    这个错误是因为mysql配置的依赖包是版本的高导致的;

    找到pom.xml更改mysql依赖包的版本。

    以下是改过后的的版本;

    在application.yml中检查url是否正确?

    url: jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=UTF-8

  • 相关阅读:
    HelpersRainCaptcha
    HelpersPHPMailer
    HelpersPassword
    HelpersPagination
    HelpersNumber
    HelpersHooks
    HelpersGeoCode
    HelpersFastCache
    HelpersDocument
    eclipse 设置jsp页面为HTML5
  • 原文地址:https://www.cnblogs.com/Sarah-Strawberry/p/11078865.html
Copyright © 2011-2022 走看看