I was trying to execute sample basic sparkstreaming example in Scala IDE, but I am getting below error:
Error: Could not find or load main class org.test.spark.streamExample.
Could anyone help me to sort out this please.
This Error May occur for two reasons:
1. When you did not write the main method in the scala program
def main(args: Array[String]): Unit = {
println("TEst")
}
2. When you add unsupported jar to the build path of the scala project
Please check the above two scenarios.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With