spark与scala版本对应查看
https://mvnrepository.com/artifact/org.apache.spark/spark-core
在spark中
<!-- https://mvnrepository.com/artifact/org.apache.spark/spark-core -->
<dependency>
<groupId>org.apache.spark</groupId>
//2.10是指scala的版本要是2.10.x的才可以
<artifactId>spark-core_2.10</artifactId>
<version>1.1.0</version>
</dependency>