Failure in finding Kafka source (Spark) [org.apache.spark.sql.AnalysisException: Failed to find data source: kafka]
I have made a fat jar file from my project which uses spark to read some CSVs and write to Kafka easily. The project is written in java, when I run the code in IntelliJ Idea it runs ok. But when I try to run the jar file it gives org.apache.spark.sql.AnalysisException: Failed to find data source: kafka.
error.