Spark java.lang.NoSuchMethodError for Univocity CSV Parser setDelimiter method
问题 I'm trying to run a Scala Spark job that uses the Univocity CSV Parser and after upgrading to support a String delimiter (vs only character), I'm getting the following error when I run my jar in the cluster. Running it locally in my IDEA IDE produces expected results with no errors. ERROR yarn.ApplicationMaster: User class threw exception: java.lang.NoSuchMethodError: com.univocity.parsers.csv.CsvFormat.setDelimiter(Ljava/lang/String;)V java.lang.NoSuchMethodError: com.univocity.parsers.csv