java.sql.SQLException: No suitable driver

Stack Overflow | mhyeah | 6 days ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to connect Android Studio with SQL Server database?

    Stack Overflow | 6 days ago | mhyeah
    java.sql.SQLException: No suitable driver
  2. 0

    App works perfectly on android version Lollipop and above but it gives me an error when i try it running on versions below

    Stack Overflow | 8 months ago | Prat0416
    java.lang.VerifyError: net/sourceforge/jtds/jdbc/TdsCore at net.sourceforge.jtds.jdbc.JtdsConnection.<init>(JtdsConnection.java:359)
  3. 0

    NetworkOnMainThreadException while accessing a postgresql database

    Stack Overflow | 1 year ago | Maverick283
    org.postgresql.util.PSQLException: Something unusual has occurred to cause the driver to fail. Please report this exception.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to remote server SQL SERVER using jdts

    Stack Overflow | 7 months ago | Agoeng Liu
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.avian.apps.avian/com.avian.apps.avian.LoginActivity}: android.os.NetworkOnMainThreadException
  6. 0

    Trying to connect an external database (postgreSQL)with my android application

    Stack Overflow | 4 years ago | Damiii
    org.postgresql.util.PSQLException: Something unusual has occured to cause the driver to fail. Please report this exception. 05-18 16:09:10.273: W/System.err(5395): at org.postgresql.Driver.connect(Driver.java:287) 05-18 16:09:10.273: W/System.err(5395): at java.sql.DriverManager.getConnection(DriverManager.java:175) 05-18 16:09:10.273: W/System.err(5395): at java.sql.DriverManager.getConnection(DriverManager.java:209) 05-18 16:09:10.273: W/System.err(5395): at com.mlab.android.basicoverlays.PostgreSQL.setConnection(PostgreSQL.java:55) 05-18 16:09:10.273: W/System.err(5395): at com.mlab.android.basicoverlays.PostgreSQL.&lt;init&gt;(PostgreSQL.java:18) 05-18 16:09:10.273: W/System.err(5395): at com.example.basicmaponline.MainActivity.onCreate(MainActivity.java:31) 05-18 16:09:10.273: W/System.err(5395): at android.app.Activity.performCreate(Activity.java:5250) 05-18 16:09:10.273: W/System.err(5395): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)

  1. DoktorDoener666 1 times, last 2 weeks ago
  2. jpvee 5 times, last 2 months ago
  3. andyglick 1 times, last 2 months ago
  4. jshakil 1 times, last 4 months ago
  5. linxiaolong 7151 times, last 2 months ago
2 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    No suitable driver

    at java.sql.DriverManager.getConnection()
  2. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:186)
    2. java.sql.DriverManager.getConnection(DriverManager.java:213)
    2 frames
  3. com.example.gaetan
    flux_sequence.onCreate
    1. com.example.gaetan.fluxsequence.flux_sequence.onCreate(flux_sequence.java:32)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
    5. android.app.ActivityThread.access$1100(ActivityThread.java:222)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:158)
    9. android.app.ActivityThread.main(ActivityThread.java:7229)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames