1.打开项目结构配置页面 (快捷键 Ctrl+Alt+Shift+S)
Idea——打包
2.设置主启动程序
Idea——打包
Idea——打包

3.build artfacts
Idea——打包
4.生成jar文件
Idea——打包
5.测试
[[email protected] test]# java -jar scalatest7.jar
sdfdfdsf

————Blueicex 2020/2/13 16:06 [email protected]

相关文章: