在针对Scala 2.10 RC1构建项目时出现scala.reflect.internal.MissingRequirementError

时间:2012-10-31 05:31:22

标签: scala build gradle scala-2.10

我正在尝试针对Scala 2.10.0 RC1构建我们的旧项目。这是我在做的时候得到的错误:

rahul@acb70333:~/Projects/Vayana/gryphon-camel-scala> gradle build
:compileJava UP-TO-DATE
:compileScala
[ant:scalac] scala.reflect.internal.MissingRequirementError: object scala.beans.BeanInfo in compiler mirror not found.
[ant:scalac]    at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
...
[ant:scalac]    at org.gradle.launcher.GradleMain.main(GradleMain.java:26)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileScala'.
> Compile failed because of an internal compiler error (object scala.beans.BeanInfo in compiler mirror not found.); see the error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 24.7 secs

此处有完整的堆栈跟踪:https://www.refheap.com/paste/6228

此错误消息是什么意思?我在类路径上缺少一些库吗?

0 个答案:

没有答案