0

With play -Dconfig.file=conf/application.conf dist command I can create a distribution zip file which includes my application.conf file and start.sh. Surprisingly, conf/routes in not included into the distribution zip and therefore any request to my application leads to "Action not found".

Where should I place conf/routes to be found by the application? I tried $scriptdir/conf/routes, CLASSPATH, but same "Action not found".

Cheers, Petr

4

1 回答 1

0

conf.routes被编译并作为一组*.class文件包含在 JAR 中。

于 2013-08-15T08:09:43.403 回答