If you are getting classNotFound, then you should use --jars option (of spark-submit) to submit those jars.
Thanks Best Regards On Sun, Dec 21, 2014 at 10:01 AM, Tao Lu <taolu2...@gmail.com> wrote: > Hi, Guys, > > I have some code which runs will using Spark-Submit command. > > $SPARK_HOME/bin/spark-submit --class com.myorg.service.SparkService > ./Search.jar > > How can I deploy it to Tomcat? If I simply deploy the jar file, I > will get ClassNotFound error. > > Thanks! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >