java.sql.SQLException

No suitable driver found for jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=student.mdb;DriverID=22;READONLY=true

Solutions on the web9776

  • via Stack Overflow by Naomi Kulkarni
    , 9 months ago
    No suitable driver found for jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=student.mdb;DriverID=22;READONLY=true
  • No suitable driver found for jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=PayRoll.mdb;DriverID=22;READONLY=true)
  • No suitable driver found for jdbc:odbc:Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)}; DBQ=./Input/InputData.xlsx; DriverID=22; READONLY=false
  • Stack trace

    • java.sql.SQLException: No suitable driver found for jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=student.mdb;DriverID=22;READONLY=true at java.sql.DriverManager.getConnection(DriverManager.java:689) at java.sql.DriverManager.getConnection(DriverManager.java:270) at withoutdsn.Main.main(Main.java:26)

    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

    Once, 1 month ago
    2 times, 2 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Once, 2 months ago
    56 more bugmates