出现情况:整合spring+mybatis+postgreql时出现此错误
出现原因:postgresql的驱动版本过低
修改方案:提升postgresql的驱动版本如下
<dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.2.5</version> </dependency>