Recently deployed on the Linux server with the play project through the Activator Dist development model, the localhost:9000 appears Your new application is ready .
To this I thought together normal. However, when you access a page that has write session data, the console prints the error log:
Play application Secret not set,play also used a very long world, to this error has not encountered, so according to the prompts to view the configuration file application.conf,
The discovery is a little different from the previous creation, which was created earlier:
This is the present:
Yes, secret is different. So Baidu, no fruit, then went to the official website search, found that there is a detailed introduction: Https://www.playframework.com/documentation/2.3.x/ApplicationSecret
There are several ways to solve the website, according to the recommended practice:
Ok! Perfect solution.
Playframework production mode play application secret not set that's something