Two possible workarounds for the problem encountered in config.resource:
1) You can override a specific property using the -D option on the command line, for example:
play -Ddb.default.url = "mysql: // myuser: mypassword @ localhost / dev" run
2) Overriding the configuration file works if you use the config.file property:
play -Dconfig.file = / conf / application.test.conf run
To do this, enter the full path to the configuration file, but at least it works.
source share