Hey everyone when compile spark-1.5.2 using Intelligent IDEA there is an error like this:
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-core_2.10: wrap: java.lang.ClassNotFoundException: xsbt.CompilerInterface: invalid LOC header (bad signature) -> [Help 1] and I don't know how to fix it 。 Any help is appreciated. Thanks, scala-maven-plugin[INFO] Building Spark Project Core 1.6.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-versions) @ spark-core_2.10 --- [INFO] [INFO] --- scala-maven-plugin:3.2.2:add-source (eclipse-add-source) @ spark-core_2.10 --- [INFO] Add Source directory: D:\spark\spark\core\src\main\scala [INFO] Add Test Source directory: D:\spark\spark\core\src\test\scala [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ spark-core_2.10 --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spark-core_2.10 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 21 resources [INFO] Copying 3 resources [INFO] [INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ spark-core_2.10 --- [WARNING] Zinc server is not available at port 3030 - reverting to normal incremental compile [INFO] Using incremental compilation [INFO] Compiling 484 Scala sources and 59 Java sources to D:\spark\spark\core\target\scala-2.10\classes... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Spark Project Parent POM ........................... SUCCESS [ 3.278 s] [INFO] Spark Project Test Tags ............................ SUCCESS [ 2.841 s] [INFO] Spark Project Launcher ............................. SUCCESS [ 8.002 s] [INFO] Spark Project Networking ........................... SUCCESS [ 3.163 s] [INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [ 2.563 s] [INFO] Spark Project Unsafe ............................... SUCCESS [ 2.391 s] [INFO] Spark Project Core ................................. FAILURE [ 6.500 s] [INFO] Spark Project Bagel ................................ SKIPPED [INFO] Spark Project GraphX ............................... SKIPPED [INFO] Spark Project Streaming ............................ SKIPPED [INFO] Spark Project Catalyst ............................. SKIPPED [INFO] Spark Project SQL .................................. SKIPPED [INFO] Spark Project ML Library ........................... SKIPPED [INFO] Spark Project Tools ................................ SKIPPED [INFO] Spark Project Hive ................................. SKIPPED [INFO] Spark Project REPL ................................. SKIPPED [INFO] Spark Project Assembly ............................. SKIPPED [INFO] Spark Project External Twitter ..................... SKIPPED [INFO] Spark Project External Flume Sink .................. SKIPPED [INFO] Spark Project External Flume ....................... SKIPPED [INFO] Spark Project External Flume Assembly .............. SKIPPED [INFO] Spark Project External MQTT ........................ SKIPPED [INFO] Spark Project External MQTT Assembly ............... SKIPPED [INFO] Spark Project External ZeroMQ ...................... SKIPPED [INFO] Spark Project External Kafka ....................... SKIPPED [INFO] Spark Project Examples ............................. SKIPPED [INFO] Spark Project External Kafka Assembly .............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.546 s [INFO] Finished at: 2015-11-20T10:57:32+08:00 [INFO] Final Memory: 65M/999M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-core_2.10: wrap: java.lang.ClassNotFoundException: xsbt.CompilerInterface: invalid LOC header (bad signature) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :spark-core_2.10 ---------------------------------------- 陈凯 手机:15700162786 邮箱:ck...@126.com QQ:941831413 ----------------------------------------