我们的项目总归是要打包好去上传到服务器运行的
在pom文件中导入maven插件
<build><!--打包插件--><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><version>3.1.3</version></plugin></plugins></build>
然后运行右边的package
就打包好了
然后运行cmd窗口
这样就打包好了~