The Exception in the thread "main" Java. Lang. NoClassDefFoundError: org/apache/spark/examples/streaming/StreamingExamples
At org. Apache. Spark. Examples. Streaming. JavaKafkaWordCount. Main (66) JavaKafkaWordCount. Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org.apache.spark.deploy.SparkSubmit$.org $$$$$$runMain SparkSubmit deploy spark apache (SparkSubmit. Scala: 738)
The at org. Apache. Spark. Deploy. SparkSubmit $. DoRunMain $1 (187). SparkSubmit scala:
The at org. Apache. Spark. Deploy. SparkSubmit $. Submit (SparkSubmit. Scala: 212)
The at org. Apache. Spark. Deploy. SparkSubmit $. The main (SparkSubmit. Scala: 126)
The at org. Apache. Spark. Deploy. SparkSubmit. Main (SparkSubmit. Scala)
Under Caused by: Java. Lang. ClassNotFoundException: org. Apache. Spark. Examples. The streaming. StreamingExamples
The at java.net.URLClassLoader.findClass URLClassLoader. Java: (381)
The at Java. Lang. This. LoadClass (424). This Java:
The at Java. Lang. This. LoadClass (357). This Java:
. 10 more
CodePudding user response:
The problems to solve, I also