org.postgresql.util.PSQLException: ERROR: relation “app_user” does not exist

前端 未结 5 949
醉梦人生
醉梦人生 2021-01-01 18:45

I have an application that I\'m using spring boot and postgres. I\'m getting this error when I try to create a user.

When I run this query on my database, I get the

5条回答
  •  太阳男子
    2021-01-01 19:18

    This could also happen if your mapping file is not defined properly in jpa configuration file. In my case, there was a new line character before (end tag where mapping file is defined) in jpa configuration.

提交回复
热议问题