scala
Welcome to Scala version 2.8.0.final (Java HotSpot(TM) Client VM, Java 1.6.0_20).
Type in expressions to have them evaluated.
Type :help for more information.
scala> import org.scalacheck.Prop.forAll
error: error while loading Prop, Scala signature Prop has wrong version
expected: 5.0
found: 4.1 in /opt/scala-2.8/lib/scalacheck.jar(org/scalacheck/Prop.class)
這是實際的Scala-2.8,scalacheck立即之前sbaz更新(sbaz更新; sbaz升級)。錯誤使用Scala-2.8和scalacheck:屬性有錯誤的版本
scala-2.8是scala-2.8的開發版本,不適合2.8,或者可能是什麼問題?
我是否必須自己獲取源代碼並重新編譯scalacheck?
非常好,快速,方便(鏈接)和正確的答案。 – 2010-08-02 17:04:27