How to spark-submit with main class in jar?

前端 未结 4 1963
时光说笑
时光说笑 2021-02-10 15:13

There are a ton of questions about ClassNotFoundException but I haven\'t seen any (yet) that fit this specific case. I am attempting to run the following command:

4条回答
  •  灰色年华
    2021-02-10 15:38

    Try to add maven-shade plugin and build > run.

    Here is the reference, it may help you.

    Getting java.lang.ClassNotFoundException while running Spark Application

提交回复
热议问题