alibaba / alibaba/DataX

具体错误信息为:java.lang.ClassNotFoundException: org.postgresql.Driver

Open
#2,151 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

c.a.datax.plugin.rdbms.util.DBUtil - test connection of [jdbc:postgresql://xx] failed, for Code:[DBUtilErrorCode-10], Description:[连接数据库失败. 请检查您的 账号、密码、数据库名称、IP、Port或者向 DBA 寻求帮助(注意网络环境).]. - 具体错误信息为:java.lang.ClassNotFoundException: org.postgresql.Driver.

ip、账号密码是没错的,显示是driver找不到,但我插件下面的依赖包是存在的,请问何解
![微信截图_20240704175940](https://github.com/alibaba/DataX/assets/25076816/2cbaa340-6137-4880-adab-c1b357118545)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the PostgreSQL connection failure using the JDBC URL and the plugin dependency setup shown in the report. Inspect why org.postgresql.Driver is not available at runtime despite the dependency being present; done means the connection test loads the driver and proceeds without ClassNotFoundException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, postgresql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.