1

我正在尝试遵循 scala 的教程并使用这个很棒的模板进行喷涂:http: //typesafe.com/activator/template/activator-akka-spray

然后我按照 Heroku 部署的说明进行操作:https ://devcenter.heroku.com/articles/getting-started-with-scala

我在运行命令“ sbt clean compile stage ”以准备在 Heroku 上进行部署时遇到问题。这是错误消息:

[info] Loading project definition from /.../activator-akka-spray/project
[info] Set current project to activator-akka-spray (in build file:/.../activator-akka-spray/)
[error] Not a valid command: stage (similar: last-grep, set, last)
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: stage (similar: state, target, tags)
[error] stage
[error] ^

有没有人遇到过类似的错误?

提前感谢您的帮助。

4

1 回答 1

4

如文档中所述,将StartScriptPluginfrom Typesafe添加到.build.sbt

于 2013-11-10T09:54:34.580 回答