2
我開始噴霧項目,並試圖按照他們的維基才能運行他們的應用實例(開始我的項目上他們)。 但是,我不能讓它們工作,看起來噴霧的sbt配置在編寫這個文檔後發生了很大的變化。無法運行噴霧例子
的instructions當我sbt "project spray-example-simple" shell
我被拒絕了這樣的對我不起作用:
~/.../spray/project # sbt "project spray-can-examples" shell
[info] Set current project to default-951202 (in build file:/home/jolivier/projects/external/spray/project/)
[error] Not a valid project ID: spray-can-examples
[error] project spray-can-examples
[error] ^
雖然Build.scala
(在同一個文件夾中),包含與此名稱的項目:
lazy val examples = Project("examples", file("examples"))
.aggregate(sprayCanExamples, sprayClientExamples, sprayIoExamples, sprayServerExamples)
.settings(exampleSettings: _*)
lazy val sprayCanExamples = Project("spray-can-examples", file("examples/spray-can"))
.aggregate(simpleHttpClient, simpleHttpServer)
.settings(exampleSettings: _*)
所以我對我被拒絕的原因感到很不安。我試圖在examples
等其他幾個文件夾上運行sbt project
命令,但得到了相同的錯誤。我錯過了什麼?我對Set current project to default-951202
感到很不安,這對我來說並不好,但我不知道如何解決這個問題。
在此先感謝。
[警告] ====噴霧回購:試用 [警告] http://repo.spray.io/com/decodified/scala-ssh/0.6.2/scala-ssh-0.6.2.jar [warn] :::::::::::::::::::::::::::::::::::::::::::::: [提醒] ::失敗的下載:: [提醒] :: ^見第消息細節^ :: [提醒] :::::::::::::::::::::: :::::::::::::::::::::::: [提醒] :: com.decodified#斯卡拉-SSH,0.6.2階-ssh.jar [警告! ] :::::::::::::::::::::::::::::::::::::::::::::: SBT。 ResolveException:下載失敗:com.decodified#scala-ssh; 0.6.2!scala-ssh.jar – ses
非常豐富的評論。你有其他人喜歡這個嗎? – pedrofurla
這是防火牆問題。所以,現在一切正常。謝謝! – ses