java.sql.SQLException

No suitable driver


Solutions on the web6149

Solution icon of oraclecommunity
via Oracle Community by 843854, 9 months ago
No suitable driver java.sql.SQLException: No suitable driver

Solution icon of oraclecommunity
via Oracle Community by GRK, 1 year ago
No suitable driver java.sql.SQLException: No suitable driver

Solution icon of terracotta
via Terracotta by joe12, 1 month ago
No suitable driver

Solution icon of terracotta
via Terracotta by danielwa, 1 year ago
No suitable driver

Solution icon of coderanch
via Coderanch by Mahima Singh, 7 months ago
No suitable driver

Solution icon of coderanch
via Coderanch by Priety Sharma, 8 months ago
No suitable driver

Solution icon of coderanch
via Coderanch by lee anthony, 8 months ago
No suitable driver

Solution icon of coderanch
via Coderanch by giang nguyen, 8 months ago
No suitable driver

Solution icon of coderanch
via Coderanch by Ramasubramaniam Rathinasubbu, 8 months ago
No suitable driver

Solution icon of coderanch
via Coderanch by Priya Dasu, 8 months ago
No suitable driver

Stack trace

  • java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:278) at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anonfun$2.apply(JdbcUtils.scala:50) at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anonfun$2.apply(JdbcUtils.scala:50) at scala.Option.getOrElse(Option.scala:120) at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.createConnectionFactory(JdbcUtils.scala:49) at org.apache.spark.sql.DataFrameWriter.jdbc(DataFrameWriter.scala:278) at org.apache.spark.sql.DataFrame.createJDBCTable(DataFrame.scala:1767) at com.zaloni.mica.datatype.conversion.RdbmsSandboxExecution.main(RdbmsSandboxExecution.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 1 day ago
12 more bugmates