Re: How to export a project to a JAR in Scala IDE for eclipse Correctly?

2016-07-27 Thread Sachin Mittal
Why don't you install sbt and try sbt assembly to create a scala jar. You can using this jar to your spark submit jobs. In case there are additional dependencies these can be passed as --jars (comma separated jar paths) option to spark submit. On Wed, Jul 27, 2016 at 11:53 AM,

How to export a project to a JAR in Scala IDE for eclipse Correctly?

2016-07-27 Thread luohui20001
Hi there: I export a project into jar like this "right click my project->choose export ->java-> jar file-> next->choose "src/main/resouces" and ''src/main/scala"'-> clikc browse and choose a jar file export location-> choose overwrite it", and this jar is unable to run with "java -jar