SpringBoot application fails to start because of Postgres Connection

I am trying to deploy a spring boot app which uses Postgres.
Below is the error on the application

o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata

java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.sqlExceptionHelper()" is null

org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.delegateWork(JdbcIsolationDelegate.java:116) ~[hibernate-core-6.4.4.Final.jar!/:6.4.4.Final]

On Postgres, below is the log
[6601786a.fc6-2] user=xyz,db=${database},app=[unknown],client=10.2xx.xxx.xxx,FATAL: password authentication failed for user "xyz"


I’ve replied to the ticket you also opened. Let’s keep the conversation in one place (on the ticket). Then you can update this post when we get to the solution.


Did anyone had the answer am still getting the sme error

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.