Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

No suitable driver found for jdbc:calcite #6

Open
rbh-93 opened this issue Jan 23, 2019 · 0 comments
Open

No suitable driver found for jdbc:calcite #6

rbh-93 opened this issue Jan 23, 2019 · 0 comments

Comments

@rbh-93
Copy link

rbh-93 commented Jan 23, 2019

I packaged the application by using maven-assembly-plugin. However, when I try to run it with java -jar sql-differential-privacy-0.1.2-SNAPSHOT-jar-with-dependencies.jar it throws the error as follows:

Exception in thread "main" Exception in thread "Timer-0" java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc:calcite:
        at org.apache.calcite.tools.Frameworks.withPrepare(Frameworks.java:159)
        at org.apache.calcite.tools.Frameworks.withPlanner(Frameworks.java:114)
        Caused by: java.sql.SQLException: No suitable driver found for jdbc:calcite:
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at org.apache.calcite.tools.Frameworks.withPrepare(Frameworks.java:153)
        ... 17 more
java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc:calcite:
        at org.apache.calcite.tools.Frameworks.withPrepare(Frameworks.java:159)
        at org.apache.calcite.tools.Frameworks.withPlanner(Frameworks.java:114)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)
Caused by: java.sql.SQLException: No suitable driver found for jdbc:calcite:
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at org.apache.calcite.tools.Frameworks.withPrepare(Frameworks.java:153)
        ... 8 more

I found this link regarding this issue but I'm not sure what might be a workaround for this.
Any suggestions?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant