scala-2.8 和 scalacheck 错误:Prop 版本错误
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 update;sbaz Upgrade)。
scala-2.8 的 scalacheck 是否正在开发中,不适合 2.8,或者可能是什么问题?
我必须自己获取源代码并重新编译 scalacheck 吗?
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)
It's the the actual scala-2.8, and scalacheck was updated with sbaz immediately before (sbaz update; sbaz upgrade).
Is scalacheck for scala-2.8 under development, and not suitable for 2.8, or what might be the problem?
Do I have to get the sources, and recompile scalacheck by myself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以从项目页面获取它。 sbaz里好像还没有更新到1.7。
You can get it from the project page. It seems that it is not updated to 1.7 in sbaz yet.
ScalaCheck 1.7 for Scala 2.8 现在应该可以在 sbaz 中使用。
ScalaCheck 1.7 for Scala 2.8 should be available in sbaz now.