2015-12-02 24 views
0

我正在嘗試關於scalatra部署的this教程。容器:開始沒有一個有效的關鍵:開始在Scalatra-website-examples/deployment

但我在> container:start上遇到錯誤,我對scala非常陌生,不知道該怎麼做,Google搜索結果告訴我要設置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] 
+1

你什麼錯誤?你可以發佈輸出嗎? – codefinger

+0

@codefinger對不起,沒有通知你,更新了我的問題 –

回答