Brew安装Scala和Play与Akka抛出异常

时间:2012-09-09 08:04:50

标签: scala playframework-2.0 sbt akka

我的应用程序出错了。

我怀疑这可能是因为默认播放版本,默认的akka​​版本和默认的scala版本存在冲突。这里似乎有两三个竞争力量在起作用。首先,我使用的是sbt-idea插件,它不能与play 2.0.3一起使用。这意味着我正在使用Play 2.0.1。其次,播放2.0.3和2.0.1都没有scala 2.9.2版本,即使这些是从brew安装的版本,这是推荐的机制。我希望我错了或错过了一些可修复的东西。尝试使用actor时,会发生以下堆栈跟踪:

play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[MatchError:   ModuleSym(SymbolInfo(nameRef=34, ownerRef=9, flags=0x120, infoRef=35)) (of class org.scalastuff.scalabeans.sig.UnPickler$$anonfun$read$3$$anonfun$apply$1$$anon$13)]]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1-2.0.1.jar:2.0.1]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1-2.0.1.jar:2.0.1]
at akka.actor.Actor$class.apply(Actor.scala:311) [akka-actor-2.0.1.jar:2.0.1]
at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1-2.0.1.jar:2.0.1]
at akka.actor.ActorCell.invoke(ActorCell.scala:619) [akka-actor-2.0.1.jar:2.0.1]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:196) [akka-actor-2.0.1.jar:2.0.1]
Caused by: scala.MatchError: ModuleSym(SymbolInfo(nameRef=34, ownerRef=9, flags=0x120, infoRef=35)) (of class org.scalastuff.scalabeans.sig.UnPickler$$anonfun$read$3$$anonfun$apply$1$$anon$13)
at org.scalastuff.scalabeans.sig.ClassDeclExtractor.parsePath(ClassDeclExtractor.scala:287) ~[scalabeans-0.2.jar:na]
at org.scalastuff.scalabeans.sig.ClassDeclExtractor$$anonfun$13$$anon$13.<init>(ClassDeclExtractor.scala:277) ~[scalabeans-0.2.jar:na]
at org.scalastuff.scalabeans.sig.ClassDeclExtractor$$anonfun$13.apply(ClassDeclExtractor.scala:276) ~[scalabeans-0.2.jar:na]
at org.scalastuff.scalabeans.sig.ClassDeclExtractor$$anonfun$13.apply(ClassDeclExtractor.scala:258) ~[scalabeans-0.2.jar:na]
at org.scalastuff.scalabeans.sig.Memoizable$$anon$1$$anonfun$apply$1.apply(Memoizable.scala:24) ~[scalabeans-0.2.jar:na]
at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:188) ~[scala-library.jar:0.11.3-2]

0 个答案:

没有答案