Skip to content

No suitable driver found error during the loading class #22

@deveshdashora

Description

@deveshdashora

Hi,

I am developing a simple JDBC program to use this as JDBC driver and I am facing below issue:

I am able connect to ksqlDB when I am loading the driver using the code snippet below.
java.sql.DriverManager.registerDriver(new com.github.mmolimar.ksql.jdbc.KsqlDriver)

But while using the snippet below, it is providing error as "No suitable driver found for jdbc:ksql://xxx.com:8088/".

Class.forName("com.github.mmolimar.ksql.jdbc.KsqlDriver")
connection = DriverManager.getConnection("jdbc:ksql://xxx:8088");

Also when I am trying to use the driver in Kafka Connect via JDBC connector (from another Kafka cluster to ksqlDB), then there also facing the same issue.

It will be great help to have a solution for this issue.

Regards!
Devesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions