我正在尝试关注有关scalatra部署的this教程。
但我在> container:start
上收到错误,我对scala很新,不知道该怎么做,谷歌搜索结果告诉我设置xsbt-web-plugin,但是不是吗?是不是需要完全独立于这些自定义依赖项的示例,或者它是scala方式?
upd(控制台输出):
➜ scalatra-heroku git:(master) sbt
[info] Loading project definition from /Users/user1/folder1/scalatra-website-examples/2.4/deployment/scalatra-heroku/project
[info] Compiling 1 Scala source to /Users/user1/folder1/scalatra-website-examples/2.4/deployment/scalatra-heroku/project/target/scala-2.10/sbt-0.13/classes...
[warn] there were 1 deprecation warning(s); re-run with -deprecation for details
[warn] one warning found
[info] Set current project to Heroku Example (in build file:/Users/user1/folder1/scalatra-website-examples/2.4/deployment/scalatra-heroku/)
> container:start
[error] Not a valid key: start (similar: state, startYear, target)
[error] container:start
[error]
答案 0 :(得分:1)
看起来README搞砸了。请尝试此示例: https://github.com/kissaten/scalatra-heroku
您可以随时遵循本指南: http://scalatra.org/2.4/guides/deployment/heroku.html