码迷,mamicode.com
首页 > 其他好文 > 详细

Playframework项目启动后自动停止问题记录

时间:2015-06-12 11:56:01      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:


问题:Playframework项目activator start启动后会自动停止

解决:activator start 添加签名(application.secret="oschina")

如:activator start -Dapplication.secret="oschina"


官网描述段落:

The application secret

Before you run your application in production mode, you need to generate an application secret. To read more about how to do this, see Configuring the application secret. In the examples below, you will see the use of -Dapplication.secret=abcdefghijk.

You must generate your own secret to use here.


Using the start command

The easiest way to start an application in production mode is to use the start command from the Play console. This requires a Play installation on the server.

[my-first-app] $ start -Dapplication.secret=abcdefghijk


Playframework项目启动后自动停止问题记录

标签:

原文地址:http://my.oschina.net/moks/blog/465889

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!