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

actor.im | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Installation · Actor

    actor.im | 6 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