Advertisement
Guest User

Untitled

a guest
Oct 15th, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. o.s.boot.SpringApplication : Application startup failed
  2. ...
  3. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
  4. ...
  5. Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
  6. ...
  7. Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "54.xxx.xx.xxx", user "u94bf9vxxxxxx", database "d2mqk0b6xxxxxx", SSL off
  8. ...
  9.  
  10. spring:
  11. datasource:
  12. driverClassName: org.postgresql.Driver
  13. url: ${JDBC_DATABASE_URL}
  14. username: ${JDBC_DATABASE_USERNAME}
  15. password: ${JDBC_DATABASE_PASSWORD}
  16. flyway:
  17. enabled: true
  18. locations: classpath:db/migrations
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement