com.typesafe.config.ConfigException$WrongType: env var DB_PORT: port has type STRING rather than NUMBER

actor.im | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Installation ยท Actor

    actor.im | 8 months ago
    com.typesafe.config.ConfigException$WrongType: env var DB_PORT: port has type STRING rather than NUMBER

    Root Cause Analysis

    1. com.typesafe.config.ConfigException$WrongType

      env var DB_PORT: port has type STRING rather than NUMBER

      at com.typesafe.config.impl.SimpleConfig.findKeyOrNull()
    2. Config
      SimpleConfig.getConfigNumber
      1. com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:159)
      2. com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170)
      3. com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184)
      4. com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189)
      5. com.typesafe.config.impl.SimpleConfig.getConfigNumber(SimpleConfig.java:219)
      5 frames