Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org.postgresql.util.PSQLException: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:159)
- at org.postgresql.Driver.makeConnection(Driver.java:415)
- at org.postgresql.Driver.connect(Driver.java:283)
- at java.sql.DriverManager.getConnection(Unknown Source)
- at java.sql.DriverManager.getConnection(Unknown Source)
- at com.javacodegeeks.examples.TestConnection.main(TestConnection.java:16)
- Caused by: java.io.IOException: Illegal UTF-8 sequence: initial byte is 11111xxx: 252
- at org.postgresql.core.UTF8Encoding.decode(UTF8Encoding.java:125)
- at org.postgresql.core.PGStream.ReceiveString(PGStream.java:329)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:424)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:203)
- ... 7 more
- spring.datasource.url=jdbc:postgresql://localhost:5432/my-database
Add Comment
Please, Sign In to add comment