# java.sql.SQLException: No suitable driver found for jdbc:postgresql

**URL:** <https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727>\
**Category:** Miscellaneous\
**Tags:** data-files, database, test-data, data-driven\
**Created:** [June 14, 2024, 2:50pm UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727 "2024-06-14T14:50:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhruvo.riseuplabs](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dhruvo.riseuplabs/32/23870_2.png) [@dhruvo.riseuplabs](https://forum.katalon.com/u/dhruvo.riseuplabs)\
**Post date:** [June 14, 2024, 2:50pm UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/1 "2024-06-14T14:50:20Z")

</div>

After opening the Katalon Studio, this warning message showing every time but if I click okay and then click on fetch data then the data show perfectly. The problem is when I’m scheduling the test suite on test ops its giving error when it is trying to run on its scheduled time. The database connection is Okay, also i had put the postgres driver on the Library Management. How to solve this issue?

java.sql.SQLException: No suitable driver found for jdbc:postgresql://QTSUATPOST1:54205/forte?currentSchema=public  
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:706)  
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:190)  
at com.kms.katalon.core.db.DatabaseConnection.getConnection(DatabaseConnection.java:145)  
at com.kms.katalon.core.db.DatabaseConnection.getConnection(DatabaseConnection.java:116)  
at com.kms.katalon.composer.testdata.parts.DBTestDataPart$7.run(DBTestDataPart.java:305)  
at org.eclipse.swt.widgets.Display.runTimer(Display.java:4152)  
at org.eclipse.swt.widgets.Display.messageProc(Display.java:3272)  
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method)  
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3640)  
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:166)  
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:368)  
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)  
at com.kms.katalon.composer.testcase.parts.TestCaseCompositePart.setScriptContentToManual(TestCaseCompositePart.java:542)  
at com.kms.katalon.composer.testcase.parts.TestCaseCompositePart.initComponent(TestCaseCompositePart.java:446)  
at com.kms.katalon.composer.testcase.handlers.OpenTestCaseHandler.execute(OpenTestCaseHandler.java:271)  
at com.kms.katalon.composer.testcase.handlers.OpenTestCaseHandler.openTestCase(OpenTestCaseHandler.java:111)  
at com.kms.katalon.composer.testcase.handlers.OpenTestCaseHandler$1.handleEvent(OpenTestCaseHandler.java:98)  
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)  
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)  
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)  
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4029)  
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3645)  
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)  
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)  
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)  
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)  
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)  
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)  
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)  
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)  
at com.kms.katalon.core.application.WorkbenchApplicationStarter.start(WorkbenchApplicationStarter.java:23)  
at com.kms.katalon.application.Application.runGUI(Application.java:205)  
at com.kms.katalon.application.Application.start(Application.java:112)  
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)  
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)  
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)  
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)  
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:568)  
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)  
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)  
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/2/5/25cf4d17358df2362a3e27abee7bf032030d0077.png)  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/1/7/17452ce813d1351ac08a933450474f209e590a2f.png)  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/7/2/72ca8d6cdf2fcffdfe4168dfd5db679401770cbf.png)  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/2/2/229276b5144db2ccb2f1fe6e1bd31885f496fa65.png)

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [June 14, 2024, 2:50pm UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/2 "2024-06-14T14:50:20Z")

</div>

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [June 17, 2024, 2:59am UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/3 "2024-06-17T02:59:59Z")

</div>

Hi,

I will ask my team and back to you soon

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [June 17, 2024, 9:55am UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/4 "2024-06-17T09:55:16Z")

</div>

Hi,

Can you please help share Katalon version, OS, …? Thank you

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [June 18, 2024, 3:38am UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/6 "2024-06-18T03:38:39Z")

</div>

Hi, Can I ask for your KS version, OS, steps to reproduce…?

---

<div class="post-metadata">

**Author:** ![dhruvo.riseuplabs](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dhruvo.riseuplabs/32/23870_2.png) [@dhruvo.riseuplabs](https://forum.katalon.com/u/dhruvo.riseuplabs)\
**Post date:** [June 19, 2024, 3:00pm UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/7 "2024-06-19T15:00:39Z")

</div>

Hi, sorry for replying late.  
KS version: 9.3.0  
OS: Windows 10  
Steps to reproduce: This error shows whenever I first open the project, and it tries to recover the previously opened Data Files folder.

---

<div class="post-metadata">

**Author:** ![dhruvo.riseuplabs](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dhruvo.riseuplabs/32/23870_2.png) [@dhruvo.riseuplabs](https://forum.katalon.com/u/dhruvo.riseuplabs)\
**Post date:** [June 20, 2024, 10:10am UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/8 "2024-06-20T10:10:29Z")

</div>

Hi Elly, any update?

---

<div class="post-metadata">

**Author:** ![philipB](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/philipb/32/16104_2.png) [@philipB](https://forum.katalon.com/u/philipB)\
**Post date:** [June 20, 2024, 4:36pm UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/9 "2024-06-20T16:36:22Z")

</div>

The JDBC driver should be set to “org.postgresql.Driver”

Let me know if the error still occurs after changing that.

---

<div class="post-metadata">

**Author:** ![dhruvo.riseuplabs](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dhruvo.riseuplabs/32/23870_2.png) [@dhruvo.riseuplabs](https://forum.katalon.com/u/dhruvo.riseuplabs)\
**Post date:** [June 21, 2024, 10:47am UTC](https://forum.katalon.com/t/java-sql-sqlexception-no-suitable-driver-found-for-jdbc-postgresql/134727/10 "2024-06-21T10:47:05Z")

</div>

Hi Philip, thanks for the solution. The error is not showing anymore.

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/f/d/fd84f851a6299a196290afc7dd859e1f8558ceb0.png)
