Playframework production mode play application secret not set that's something

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.