I\'m trying to migrate a project from Spark 1.6 to Spark 2.4.5 and I found some issues about this topic. I\'m using Scala 2.11.12 and Scala Maven Plugin 4.4.0 as compiler pl