build.sbt:
val sparkVersion = \"2.1.1\";
libraryDependencies += \"org.apache.spark\" %% \"spark-core\" % sparkVersion % \"provided\";
libraryDependencies += \"o
This is caused by "com.datastax.spark" % "spark-cassandra-connector" % "2.0.2";
without scala version, see maven repo:
http://search.maven.org/#artifactdetails%7Ccom.datastax.spark%7Cspark-cassandra-connector_2.11%7C2.0.2%7Cjar
There are 2 solutions for this:
"com.datastax.spark" % "spark-cassandra-connector_2.11" % "2.0.2"
explicitly set Scala version for dependency"com.datastax.spark" %% "spark-cassandra-connector" % "2.0.2"
, use %%
with artifact id, this way, the SBT will auto base on your project's scala version to expand to the solution 1.