从postgresql官网下载Jar包 https://jdbc.postgresql.org/download/ 在DBeaver中添加Jar包 点击工具栏 数据库 选择驱动管理器 双击数据库 -》选择库 -》添加文件 -》选择Jar包 -》点击找到类 -》确定