我正在努力学习关于scalatra部署的这教程。
但是我在> container:start上遇到了错误,我对scala非常陌生,不知道该怎么做,谷歌搜索结果告诉我要安装xsbt插件,但这是对的吗?对于这种自定义依赖关系,示例不需要完全独立吗?还是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] 发布于 2015-12-04 20:41:09
看来自述是搞砸了。尝试下面的示例:https://github.com/kissaten/scalatra-heroku
您可以始终遵循以下指南:http://scalatra.org/2.4/guides/deployment/heroku.html
https://stackoverflow.com/questions/34055143
复制相似问题