KafkaUtils class not found in Spark streaming

后端 未结 9 1541
囚心锁ツ
囚心锁ツ 2021-01-11 20:14

I have just began with Spark Streaming and I am trying to build a sample application that counts words from a Kafka stream. Although it compiles with sbt package

9条回答
  •  一生所求
    2021-01-11 20:41

    Added the Dependency externally, project-->properties--> java Build Path-->Libraries--> add External jars and add the required jar.

    this solved my issue.

提交回复
热议问题