Driver class 'org.postgresql.Driver' not found.

已回答

I can not create my datasource bcs of this error. In first instalation datagrip itself downloaded postgresql drivers but still says not found. I use lastest stable version.

0

Have you tried to redownload the JDBC driver manually or change its version? I noticed you also created a ticket in our system. Feel free to reply there directly with the logs.

0

Miguel Monteiro i did your both suggestions but the error stayed same. I noticed my advanced tab is empty, when i check someone elses postgreSQL properties their advanced tab is filled, maybe this could be the issue.
 

0

What if you manually add the JDBC driver, as mentioned here

You can download the driver here - https://www.jetbrains.com/datagrip/jdbc-drivers/

0

I did downloaded exactly from that link and followed the instructions you linked above but the error still remains. i doubted that DataGrip did not installed properly, so i tried reinstalled the DataGrip for clean setup but nothing changed.

0

Let's go ahead and create a new bug report on YouTrack to get additional info from our devs.

Make sure to provide the IDE UI logs from Help | Collect Logs and Diagnostic Data

0

create button is passive even though i write the summary above

0

Upload the logs at https://uploads.jetbrains.com/ and share it's upload ID. I will create it from my side

0

here you are 

upload ID: 2024_09_06_sgSzJHamcxqfv94NCjakwJ

0

Attach the entire zipped log file from Help | Collect Logs and Diagnostic Data

0

October 2025, clean installation, just pulled the latest version Build #DB-252.26830.46, built on September 28, 2025 available on Mac, same problem 1 year later, awesome

1

Hi Jaime Agudo Lopez,

Do you see any buttons in the data source properties suggesting you download driver files or change the driver class? Please share a screenshot of the error, upload the idea.log file (Help | Show Log in Finder) to https://uploads.jetbrains.com/, and let me know the upload ID.

0

This problem is new for me. It started in the last two weeks. Also many of my PostgreSQL schemas look damaged one day, fine the next.

0

Hi Adwolfe,

What is your current DataGrip version? Could you upload the idea.log file (Help | Show Log in …) to https://uploads.jetbrains.com/, and let me know the upload ID?

 

Regarding

Also many of my PostgreSQL schemas look damaged one day, fine the next.

Could you please elaborate on this? In what way do the schemas appear damaged?

0

Upload id: 2025_11_20_rTYPqDzmGUoppf2M3NzTUP (file: idea.log)

0

I'm having the same issue. My idea.log Upload id: 2025_11_21_25wJeQFLLSMBi54fCfxZB5 (file: idea.log)

 

IJ Build #IU-252.28238.7, built on November 20, 2025

(2025.2.4 has the same issue too)

0

yup, same here.  DataGrip 2025.2.4
Build #DB-252.26830.46, built on September 28, 2025

Since updating to the new (current) version, this error has been popping up randomly. Changing the driver, for example, to an older one, helps... for a few days. Then the error pops up again - so I change the driver to a newer one and it works… for a while. And so on and on…

0

Hi Adwolfe, Bartosz Kropornicki,

A similar issue was recently fixed in DBE-23798, and I see the same related exceptions in your logs. The fix was included in DataGrip 2025.3 EAP 3 (build ≥ 253.24325.6), so please try upgrading to a newer version, which can be downloaded from https://www.jetbrains.com/datagrip/nextversion/ or via the JetBrains Toolbox. The stable 2025.3 release will be published soon.

Gaosong2103, since you're using IntelliJ IDEA, you can download the latest EAP from https://www.jetbrains.com/idea/nextversion/ or also via the JetBrains Toolbox.

Please let me know if this helps.

0

Thanks Anastasia. For me, the issue went away by itself. I have not encountered it since the second day of reporting this problem 😅

If I encounter this issue again in the future, I'll try to upgrade IJ to the latest/EAP. 

0

请先登录再写评论。