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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via actor.im by Unknown author, 1 year ago
env var DB_PORT: port has type STRING rather than NUMBER
via GitHub by evacchi
, 1 year ago
String: 1: term has type STRING rather than BOOLEAN
via Stack Overflow by M.Ahsen Taqi
, 3 months ago
system properties: path has type OBJECT rather than STRING
via Stack Overflow by carfield
, 1 year ago
application.properties @ file:/xxx/application.properties: configYYY has type STRING rather than LIST
via GitHub by ruippeixotog
, 1 month ago
String: 1: a has type NUMBER rather than OBJECT
via GitHub by vas78
, 1 year ago
system properties: gatling.data.writers has type STRING rather than LIST
com.typesafe.config.ConfigException$WrongType: env var DB_PORT: port has type STRING rather than NUMBER
at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:159)
at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189)

Users with the same issue

Once, 3 weeks ago
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.