1. Open the Project Structure
2、Artifacts -> + -> JAR -> From modules with dependencies...
3, the inlet selection class
4. Select Build Artifacts
5, start packing
6, complete package, you can see the generated jar file in the directory out