# Using postgres db / flowable springboot base app

**URL:** <https://forum.flowable.org/t/using-postgres-db-flowable-springboot-base-app/9987>\
**Category:** Flowable Engine\
**Created:** [December 11, 2022, 9:09am UTC](https://forum.flowable.org/t/using-postgres-db-flowable-springboot-base-app/9987 "2022-12-11T09:09:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyatim](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/kyatim/32/3027_2.png) [@kyatim](https://forum.flowable.org/u/kyatim)\
**Post date:** [December 11, 2022, 9:09am UTC](https://forum.flowable.org/t/using-postgres-db-flowable-springboot-base-app/9987/1 "2022-12-11T09:09:51Z")

</div>

I’m trying to use postgresql db with flowable in springboot (2.7.5) based app.  
I get this error  
`Caused by: java.lang.RuntimeException: Failed to load driver class org.postgresql.Driver in either of HikariConfig class loader or Thread context classloader`

the postgres dependency is added to pom.xml.  
any idea!  
thank you.

---

<div class="post-metadata">

**Author:** ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)\
**Post date:** [December 12, 2022, 6:29am UTC](https://forum.flowable.org/t/using-postgres-db-flowable-springboot-base-app/9987/2 "2022-12-12T06:29:32Z")

</div>

Hi.

Can you share a but more information? For example your configuration and the properties to you use to to configure the datasource.

Yvo

---

<div class="post-metadata">

**Author:** ![kyatim](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/kyatim/32/3027_2.png) [@kyatim](https://forum.flowable.org/u/kyatim)\
**Post date:** [December 12, 2022, 11:25am UTC](https://forum.flowable.org/t/using-postgres-db-flowable-springboot-base-app/9987/3 "2022-12-12T11:25:27Z")

</div>

Thank you!

i solved this problem by deleting “.m2” directory and recompiling the whole projects. The first time a corrupted driver jar was downloaded.

Khalid.
