cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting com.databricks.client.jdbc.Driver is not found error while connecting to databricks

HASSAN_UPPAL123
New Contributor II

Hi Community,
I need help regarding the class not found issue. I'm trying to connect databricks in python via 

jaydebeapi, provided proper class name `com.databricks.client.jdbc.Driver` and jarpath `databricks-jdbc-2.6.34.jar`, but i'm getting com.databricks.client.jdbc.Driver is not found error.
Am i using the wrong jar and class name?
1 ACCEPTED SOLUTION

Accepted Solutions

User16502773013
Contributor II
Contributor II

Hello @HASSAN_UPPAL123 
The class name is correct, for the jar please try downloading the latest from here

This issue may also be a classpath issue were the jar is not exported correctly in your client setup, I see similar issues/ suggested solutions reported in jaydebeapi's github

Regards

 

View solution in original post

1 REPLY 1

User16502773013
Contributor II
Contributor II

Hello @HASSAN_UPPAL123 
The class name is correct, for the jar please try downloading the latest from here

This issue may also be a classpath issue were the jar is not exported correctly in your client setup, I see similar issues/ suggested solutions reported in jaydebeapi's github

Regards

 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!