FAQ using IDEA written on the spark Scala program

1,ClassNotFound

   By Project Structure changed the main sources

2, has been suggested is an Object

    Src by Project Structure and the main sources instead

3, suggesting NoSourcesFind

    spark Scala version of sync Tell me what network version dependency

4, IDEA running, running tips apply not find ClassNotFoundException: Scala.App $$ anonfun $ 1. Jar package will be submitted to the cluster prompt main () is not static

    .setJars (List (jar package currently running project storage directory)) 

Guess you like

Origin blog.csdn.net/ws_developer/article/details/51459074