container:start 密钥无效:从 Scalatra-website-examples/deployment 开始
container:start Not a valid key: start at Scalatra-website-examples/deployment
我正在尝试学习有关 scalatra 部署的 this 教程。
但我在 > container:start
上遇到错误,我是 scala 的新手,不知道该怎么做,谷歌搜索结果告诉我设置 xsbt-web-plugin,但它正确吗?示例不需要完全独立于此类自定义依赖项还是 scala 方式?
更新(控制台输出):
➜ 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]
README 好像搞砸了。试试这个例子:
https://github.com/kissaten/scalatra-heroku
您可以随时遵循本指南:
http://scalatra.org/2.4/guides/deployment/heroku.html
我正在尝试学习有关 scalatra 部署的 this 教程。
但我在 > container:start
上遇到错误,我是 scala 的新手,不知道该怎么做,谷歌搜索结果告诉我设置 xsbt-web-plugin,但它正确吗?示例不需要完全独立于此类自定义依赖项还是 scala 方式?
更新(控制台输出):
➜ 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]
README 好像搞砸了。试试这个例子: https://github.com/kissaten/scalatra-heroku
您可以随时遵循本指南: http://scalatra.org/2.4/guides/deployment/heroku.html