spark-twitter-stream-example
spark-twitter-stream-example copied to clipboard
No main detected
Hi I tried to implement this example. But I got error like this.
[error] java.lang.RuntimeException: No main class detected.
[error] at scala.sys.package$.error(package.scala:30)
[error] stack trace is suppressed; run last Compile / bgRun for the full output
[error] (Compile / bgRun) No main class detected.
[error] Total time: 0 s, completed 2021/11/23 18:39:20
Where is the main? And how can I resolve this problem? Please teach me.