Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented
问题 I am trying to configure dbcp2 with postgres 9.1 When I run my app, it throws exception: Exception in thread "main" org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.) at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) at org.springframework.jdbc