2012-07-26 59 views
1

當從akka 1.2升級到akka 2.0.2時,我無法實現駱駝,因爲akka 2.0.2不支持akka-camel,我試圖使用akka 2.1-快照,但它需要scala 2.10,我如何運行akka 2.1-快照與Scala 2.9.x?如何使用scala 2.9.x運行akka 2.1快照?

當我編譯testkit總是有這樣的錯誤:

class file needed by TestKitBase is missing. [error] reference value util of package concurrent refers to nonexisting symbol. [error] one error found

如果我複製階,反映-2.10.0-M5.jar,斯卡拉庫-2.10-M5.jar,scalatest-2.10-M5 .JAR我的庫文件夾,有其他錯誤:

error while loading package, class file needed by package is missing. [error] reference value $default$2 of object deprecated refers to nonexisting symbol.

我使用SBT 0.11.3 &這裏是我的build.sbt文件:

名:= 「阿卡-2.1測試」

version := "1.0.0"

scalaVersion := "2.9.1"

resolvers += "Typesafe Repository" at "http://repo.akka.io/snapshots"

unmanagedBase <<= baseDirectory { base => base/"custom_lib" }

我不想升級到2.10階,因爲我的liftweb仍然使用Scala的2.9.1

非常感謝你的幫助!

回答

0

我懷疑Akka 2.1將在Scala 2.9.x上發佈,因爲它使用了很多Scala 2.10的新特性。