You need to create a file named Procfile in the root of your project and for Play it should contain
web: play run --http.port=$PORT $PLAY_OPTS
When you then deploy your application the $PORT and $PLAY_OPTS will be set by heroku when the application is started.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…