I'm writing a Spark application using version 2.1.1. The following code got the error when calling a method with LocalDate parameter? …