Play フレームワーク 2.1 の application.conf ファイルに新しいキーを追加しようとしています。次のキーを追加しました。
gen.db.host=localhost
gen.db.port=27017
gen.db.name=test
アプリケーションを起動すると、次のエラーがスローされます。
Configuration error: Configuration error[application.conf: 46: port has type NUMBER rather than OBJECT]
......
......
......
Caused by: com.typesafe.config.ConfigException$WrongType: application.conf: 46: port has type NUMBER rather than OBJECT
この問題がわかりません。どうすれば解決できますか?また、application.conf ファイルで新しいキーを定義することをお勧めしますか?
ありがとう。