Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

前端 未结 9 1502
遥遥无期
遥遥无期 2020-12-08 18:30

I am trying to configure hibernate orm mapping tool to my java class and using PostgreSQL as my database and configured the password as "password". When I tried to

9条回答
  •  一个人的身影
    2020-12-08 19:17

    Cause: The error occurred since hibernate is not able to connect to the database.
    Solution:
    1. Please ensure that you have a database present at the server referred to in the configuration file eg. "hibernatedb" in this case.
    2. Please see if the username and password for connecting to the db are correct.
    3. Check if relevant jars required for the connection are mapped to the project.

提交回复
热议问题