Applies to:
- Liquibase Pro
- Liquibase Open Source (Community)
Conditions:
- Any version of Liquibase Pro or Open Source
- Any database
Issue Summary:
When attempting to use any Liquibase command that connects to the database, an error occurs stating, "Driver class was not specified and could not be determined from the URL.
Error Message:
Unexpected error running Liquibase: Driver class was not specified and could not be determined from the url
Root Cause:
Liquibase will attempt to determine the database driver to use based on the URL. If the database driver cannot be determined and it wasn't specified, Liquibase will throw an error.
The root cause of this error is a misconfigured JDBC URL.
Resolution:
To resolve this issue, please review our Liquibase Database Tutorials page, which has examples of all the JDBC URLs for each database. Ensure that the URL in the Liquibase project is structured correctly.
Related Article(s):
N/A
Comments
0 comments
Article is closed for comments.