Menu

java.sql.SQLException: No suitable driver found for jdbc:ucanaccess://C://......//Database1.accdb

Help
2016-02-14
2016-02-15
  • Gaurav Purwar

    Gaurav Purwar - 2016-02-14

    Being student it becomes a worst condition when you facing an error which dont solve after making all possible steps. Limited Knowledge + Limited scope. Suggest me what should I do. I have already taken every possible steps and procedures which i found in discussions. I am enclosing screenshot of a simple program which i just made to test ucanacc!ess (result = FAIL).

     

    Last edit: Gaurav Purwar 2016-02-14
  • Marco Amadei

    Marco Amadei - 2016-02-15

    The unload.jar is unnecessary and may generate some issue, but this doesn't justify the exception you get.
    We can't see from the screenshot what you have done wrong, because nothing seems justify the exception.

     
  • Gord Thompson

    Gord Thompson - 2016-02-15

    I am unable to reproduce your issue even though

    1. ucanload.jar is not needed in the "Libraries" for your project, and

    2. the slashes in the file path do not need to be doubled, so jdbc:ucanaccess://C:/path/to/file.accdb is preferred.

    As Marco suggests, there must be something else that is preventing you from connecting.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.