Replies: 8 comments
-
Most likely some dependency jars are missing (i.e. it is not enough to add just one jar file). Error "Could not initialize class" means that class was found but something went wrong during class load procedure. I'd recommend to add it as a Maven artifact but not as a single file (use Add Artifact button) |
Beta Was this translation helpful? Give feedback.
-
@serge-rider Thanks for your reply. I add the Maven artifact of databend jdbc as follows: But still has the same error 😢 : |
Beta Was this translation helpful? Give feedback.
-
Did you try to restart dbeaver? |
Beta Was this translation helpful? Give feedback.
-
Yes, I have restarted the dbveaer. |
Beta Was this translation helpful? Give feedback.
-
Please see https://github.com/dbeaver/dbeaver/wiki/Log-files |
Beta Was this translation helpful? Give feedback.
-
I found the error logs and I wonder why there is a !SESSION 2023-03-28 09:18:50.468 ----------------------------------------------- !ENTRY org.eclipse.ui 2 2 2023-03-28 09:18:52.815 !ENTRY org.jkiss.dbeaver.model 4 0 2023-03-28 09:18:55.263 Reason: can't load driver class 'com.databend.jdbc.DatabendDriver' Reason: can't load driver class 'com.databend.jdbc.DatabendDriver' |
Beta Was this translation helpful? Give feedback.
-
@serge-rider Thanks for your help! I build a fat jar and fixed this issue. |
Beta Was this translation helpful? Give feedback.
-
Description
I want to add a JDBC driver to Dbeaver according to this doc, the JDBC driver is https://github.com/databendcloud/databend-jdbc. I add the jdbc driver jar file to dbeaver and the dbeaver can load the driver class
com.databend.jdbc.DatabendDriver
when I adding it to driver manager:But when I save it and create a new databend connection, I got the error:
DBeaver Version
Community Edition 23.0.1.202303250535
Operating System
macOS Monterey 12.2.1
Database and driver
Steps to reproduce
According this https://dbeaver.com/docs/wiki/Database-drivers/
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions