How to set up PostgreSQL for Play 2.0?

前端 未结 2 1192
一生所求
一生所求 2020-12-30 05:12

I\'d like to configure PostgreSQL for my Play app, but am getting the following error:

! Internal server error, for request [GET /] ->

java.util.concurre         


        
2条回答
  •  孤独总比滥情好
    2020-12-30 06:00

    On my OSX, I've installed PostgreSQL from homebrew and current version is 9.3.4

    The connection strings described above do not work for me because they are using postresql database name. My connections are established if and only if I specify like:

    db.default.url="postgres://user:password@localhost/MyDbName"
    

    Notice that it is postgres instead of postgresql.

提交回复
热议问题