我尝试编译我在本教程后使用get-idea编译的Scala Spark项目https://anitatailor.wordpress.com/2013/10/09/setting-up-spark0-8-0-with-intellijidea/
但是当我尝试使用IntelliJ IDEA中的SBT控制台编译Scala Spark时,我遇到了一些错误。 您可能会看到下面的错误日志
java -Dsbt.log.noformat=true -Djline.terminal=jline.UnsupportedTerminal -Xmx512M -XX:MaxPermSize=256M -jar C:\Users\Priska\.IdeaIC14\system\sbt\sbt-launch.jar
[info] Loading project definition from D:\spark-incubating\project\project
[info] Compiling 1 Scala source to D:\spark-incubating\project\project\target\scala-2.9.2\sbt-0.12\classes...
[error] error while loading CharSequence, class file 'D:\IDEA\jre\jre\lib\rt.jar(java/lang/CharSequence.class)' is broken
[error] (bad constant pool tag 15 at byte 1501)
[error] error while loading Comparator, class file 'D:\IDEA\jre\jre\lib\rt.jar(java/util/Comparator.class)' is broken
[error] (bad constant pool tag 15 at byte 5003)
[error] two errors found
[error] (compile:compile) Compilation failed
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
你能帮我解决问题吗?
任何帮助将不胜感激。 谢谢