Exception in thread “main“ java.lang.NoClassDefFoundError: org/apache/kafka/common/..
问题在idea编写的spark直连Kafka任务,运行时报错:Spark fails with NoClassDefFoundError for org.apache.kafka.common.serialization.StringDeserializer解决方法版本不一致导致,导入dependencies.jar.或者版本更改一致即可...