Scala Play 2.2 application crashes after deploying in Heroku: target/start No such file or directory

前端 未结 3 771
难免孤独
难免孤独 2021-01-11 18:32

I\'ve been fighting with this for hours and I can\'t figure out why after deploying my Scala Play 2.2 application in Heroku I get this stacktrace:

2013-09-30         


        
3条回答
  •  执念已碎
    2021-01-11 19:05

    Play 2.2 changed the name and location of the file used to start your app

    http://www.playframework.com/documentation/2.2.x/Production

    For example, to start an application of the project ‘foo’ from the project folder, update your Procfile to run:

    target/universal/stage/bin/foo
    

提交回复
热议问题