spark - scala init error on build
问题 I'm trying to use spark in my scala application. this is my spark dependency I'm using : <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.10</artifactId> <version>1.0.0</version> </dependency> Then in my code import org.apache.spark.SparkConf val sparkConf = new SparkConf() There is no error in my eclipse IDE, But code build ( mvn package exec:java ) is failed with the following error: error: class file needed by SparkConf is missing. [ERROR] reference type Cloneable