你是不会打包吗?https://blog.csdn.net/weixin_38201936/article/details/88018493
百度 idea打包 完事
可以尝试使用maven 工具 ,能把代码项目打包为jar
按如图所示打包即可
重启一下电脑