Guest User

Untitled

a guest
Jan 6th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. org.postgresql.util.PSQLException: The connection attempt failed.
  2. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
  3. at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
  4. at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:159)
  5. at org.postgresql.Driver.makeConnection(Driver.java:415)
  6. at org.postgresql.Driver.connect(Driver.java:283)
  7. at java.sql.DriverManager.getConnection(Unknown Source)
  8. at java.sql.DriverManager.getConnection(Unknown Source)
  9. at com.javacodegeeks.examples.TestConnection.main(TestConnection.java:16)
  10. Caused by: java.io.IOException: Illegal UTF-8 sequence: initial byte is 11111xxx: 252
  11. at org.postgresql.core.UTF8Encoding.decode(UTF8Encoding.java:125)
  12. at org.postgresql.core.PGStream.ReceiveString(PGStream.java:329)
  13. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:424)
  14. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:203)
  15. ... 7 more
  16.  
  17. spring.datasource.url=jdbc:postgresql://localhost:5432/my-database
Add Comment
Please, Sign In to add comment