Scala version:2.11.7(had to upgrade the scala verison to enable case clasess to accept more than 22 parameters.) Spark version:1.6.1 PFB pom.xml
Getting below error
For scala 2.12.0, you should add the following dependency to your POM.xml file, and that's it.
org.scala-lang scala-library 2.12.0-M1