异常总结(1):org.postgresql.util.PSQLException: 这个 ResultSet 已经被关闭

出现情况:整合spring+mybatis+postgreql时出现此错误

出现原因:postgresql的驱动版本过低

修改方案:提升postgresql的驱动版本如下

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.5</version>
</dependency>
posted @ 2021-08-17 10:24  realDevin  阅读(1475)  评论(0编辑  收藏  举报