打开 File -> Project Structure Artifacts -> + -> jar -> From Modules with dependisies... 选择需要打包的文件的 Main 函数所在路径文件: Main Class -> Ok 新建一个文件夹用于存放 .MP 文件,而且新建的文件夹一定要在 src 目录下! 然后 yes 更改 jar 包的名字,然后 Apply: 切记这里还有一个位置是存放打包完成后的 jar 存放位置 Output Dire
执行java调用scala 打包后的jar时候出现异常 /14 23:57:08 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory 15/04/14 23:57:23 WARN TaskSchedulerImpl: Initial job