org.sql2o.Sql2oException: Could not acquire a connection from DataSource - The server time zone value 'MSK' 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.

GitHub | fromgate | 4 months ago
  1. 0

    Compatibility with MySQL JDBC driver v6.0.2

    GitHub | 4 months ago | fromgate
    org.sql2o.Sql2oException: Could not acquire a connection from DataSource - The server time zone value 'MSK' 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.
  2. 0

    Problema para execução do teste unitário | Alura Cursos Online de Tecnologia

    com.br | 4 months ago
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. 0

    Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Unable to obtain JDBC Connection

    Stack Overflow | 2 months ago | MyungHee
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB- INF/spring/mvc-dispatcher.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Unable to obtain JDBC Connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ExceptionIninitializerError hibernate

    Stack Overflow | 8 months ago | Glenn
    java.lang.ExceptionInInitializerError
  6. 0

    Exception in thread "maiorg.hibernate.service.spi.ServiceException: Unable to create requested service on Hibernate

    Stack Overflow | 6 months ago | AFS
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

  1. jstrayer 4 times, last 2 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.cj.core.exceptions.InvalidConnectionAttributeException

    The server time zone value 'MSK' 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.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  3. com.mysql.cj
    NonRegisteringDriver.connect
    1. com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:54)
    2. com.mysql.cj.core.exceptions.ExceptionFactory.createException(ExceptionFactory.java:73)
    3. com.mysql.cj.jdbc.util.TimeUtil.getCanonicalTimezone(TimeUtil.java:118)
    4. com.mysql.cj.mysqla.MysqlaSession.configureTimezone(MysqlaSession.java:308)
    5. com.mysql.cj.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:2474)
    6. com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:1817)
    7. com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1673)
    8. com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:656)
    9. com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:349)
    10. com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:221)
    10 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  5. org.sql2o
    Sql2o.open
    1. org.sql2o.GenericDatasource.getConnection(GenericDatasource.java:62)
    2. org.sql2o.Connection.createConnection(Connection.java:288)
    3. org.sql2o.Connection.<init>(Connection.java:51)
    4. org.sql2o.Sql2o.open(Sql2o.java:225)
    4 frames
  6. ru.nukkit.test
    Test.onCommand
    1. ru.nukkit.test.Test.onCommand(Test.java:104)
    1 frame
  7. cn.nukkit.command
    SimpleCommandMap.dispatch
    1. cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
    2. cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:193)
    2 frames
  8. cn.nukkit
    Server.dispatchCommand
    1. cn.nukkit.Server.dispatchCommand(Server.java:630)
    1 frame
  9. cn.nukkit.command
    CommandReader.run
    1. cn.nukkit.command.CommandReader.run(CommandReader.java:70)
    1 frame