Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.typesafe.config.{Config, ConfigFactory}
- val config: Config = ConfigFactory.load("application.conf")
- val env = config.getString("key.key1")
- key {
- key1 = "value1"
- }
- com.typesafe.config.ConfigException$Missing: system properties: No configuration setting found for key 'key'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement