I am running a Java Spark application. I can run the application from inside the intellij IDE. However, if I try to run it using the application built as a jar I get the following error.
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalStateException: Cannot load class [org.elasticsearch.spark.sql.SparkSQLCompatibilityLevel]
spark-core_2.10 v 1.6.3
elasticsearch-spark-13_2.10 v 5.6.8
The problem seems identical to the one encountered in this thread.
However, no mention is given of how to fix this.