I deployed my Spring MVC app on Heroku...But the logs show me the error
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: ERROR: current transaction is aborted, commands ignored until end of transaction block
I m not getting why this error is occuring as i m new to Postgres..Although my app is working smoothly with postgres locally but on Heroku it throws this error
This is in my Procfile
web: java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
This line in the image