# Drver class error

**URL:** <https://forum.liquibase.org/t/drver-class-error/10027>\
**Category:** Uncategorized\
**Created:** [December 12, 2024, 8:36am UTC](https://forum.liquibase.org/t/drver-class-error/10027 "2024-12-12T08:36:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.liquibase.org/u/Kumar)\
**Post date:** [December 12, 2024, 8:36am UTC](https://forum.liquibase.org/t/drver-class-error/10027/1 "2024-12-12T08:36:36Z")

</div>

ERROR: Exception Details  
ERROR: Exception Primary Class: RuntimeException  
ERROR: Exception Primary Reason: Driver class was not specified and could not be determined from the url (jdbc:Db2://DOMAIN:50000/DBName)  
ERROR: Exception Primary Source: 4.28.0

Unexpected error running Liquibase: Driver class was not specified and could not be determined from the url (jdbc:Db2://DOMAIN:50000/DBName)

This error is coming up when I execute liquibase validate

---

<div class="post-metadata">

**Author:** ![wwillard](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@wwillard](https://forum.liquibase.org/u/wwillard)\
**Post date:** [December 12, 2024, 7:16pm UTC](https://forum.liquibase.org/t/drver-class-error/10027/2 "2024-12-12T19:16:21Z")

</div>

Change your URL to `jdbc:db2://DOMAIN:50000/DBName`.  
^^^

---

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.liquibase.org/u/Kumar)\
**Post date:** [December 12, 2024, 7:45pm UTC](https://forum.liquibase.org/t/drver-class-error/10027/3 "2024-12-12T19:45:09Z")

</div>

ERROR: Exception Details  
ERROR: Exception Primary Class: DatabaseException  
ERROR: Exception Primary Reason: Connection could not be created to [DBSERVERUL.DOMAIN.NET:50000/DBNAME](http://DBSERVERUL.DOMAIN.NET:50000/DBNAME) with driver com.ibm.db2.jcc.DB2Driver. Possibly the wrong driver for the given database URL  
ERROR: Exception Primary Source: 4.28.0  
Unexpected error running Liquibase: Connection could not be created to [DBSERVERUL.DOMAIN.NET:50000/DBNAME](http://DBSERVERUL.DOMAIN.NET:50000/DBNAME) with driver com.ibm.db2.jcc.DB2Driver. Possibly the wrong driver for the given database URL  
For more information, please use the --log-level flag I am seeing this error now
