# org.postgresql.util.PSQLException: ERROR: no schema has been selected to create in

**URL:** <https://forum.flowable.org/t/org-postgresql-util-psqlexception-error-no-schema-has-been-selected-to-create-in/7651>\
**Category:** Flowable Engine\
**Created:** [March 26, 2021, 9:01am UTC](https://forum.flowable.org/t/org-postgresql-util-psqlexception-error-no-schema-has-been-selected-to-create-in/7651 "2021-03-26T09:01:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.nasri](https://avatars.discourse-cdn.com/v4/letter/h/4da419/32.png) [@h.nasri](https://forum.flowable.org/u/h.nasri)\
**Post date:** [March 26, 2021, 9:01am UTC](https://forum.flowable.org/t/org-postgresql-util-psqlexception-error-no-schema-has-been-selected-to-create-in/7651/1 "2021-03-26T09:01:30Z")

</div>

I have this exception org.postgresql.util.PSQLException: ERROR: no schema has been selected to create in. when I started my application. Any idea what is happening?

regards

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [March 29, 2021, 8:58am UTC](https://forum.flowable.org/t/org-postgresql-util-psqlexception-error-no-schema-has-been-selected-to-create-in/7651/2 "2021-03-29T08:58:07Z")

</div>

Hey @h.nasri,

Can you please share how you have configured the engines.

Cheers,  
Filip

---

<div class="post-metadata">

**Author:** ![h.nasri](https://avatars.discourse-cdn.com/v4/letter/h/4da419/32.png) [@h.nasri](https://forum.flowable.org/u/h.nasri)\
**Post date:** [March 29, 2021, 11:28am UTC](https://forum.flowable.org/t/org-postgresql-util-psqlexception-error-no-schema-has-been-selected-to-create-in/7651/3 "2021-03-29T11:28:54Z")

</div>

Hi @filiphr ,  
thank you for your reply. I just found what was causing the problem. It was that I was setting the wrong attribute in ProcessEngineServiceConfiguration that I have implemented. It works perfect now.  
Thanks you again!  
regards,  
Hamdi
