答案 0 :(得分:5)
所提到的类来自Apache Spark SQL,它在类路径中缺失。加上这个:
<!-- https://mvnrepository.com/artifact/org.apache.spark/spark-sql_2.11 -->
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.11</artifactId>
<version>1.6.1</version>
</dependency>