play.api.Configuration$$anon$1

Configuration error[Cannot connect to database [default]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web73

  • via Stack Overflow by Y0gesh Gupta
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • play.api.Configuration$$anon$1: Configuration error[Cannot connect to database [default]] at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:94)[play_2.11-2.3.6.jar:2.3.6] at play.api.Configuration.reportError(Configuration.scala:743)[play_2.11-2.3.6.jar:2.3.6] at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:247)[play-jdbc_2.11-2.3.6.jar:2.3.6] at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:238)[play-jdbc_2.11-2.3.6.jar:2.3.6] at scala.collection.immutable.List.map(List.scala:274)[scala-library-2.11.1.jar:na] Caused by: org.postgresql.util.PSQLException: FATAL: database "localhost:5432/sampledb" does not exist at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:572)[postgresql-9.3-1100-jdbc41.jar:na] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:177)[postgresql-9.3-1100-jdbc41.jar:na] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)[postgresql-9.3-1100-jdbc41.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136)[postgresql-9.3-1100-jdbc41.jar:na] at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)[postgresql-9.3-1100-jdbc41.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Eric HendersonEric Henderson
    37 times, last one
    kjhdofjosvskjhdofjosvs
    Once,
    serious2monkeysserious2monkeys
    5 times, last one
    max_samebugmax_samebug
    2 times, last one
    10 more bugmates