spring-boot项目会将src/resource下的内容编译到target文件夹中 taget目录下会有一个jar, 他就是打包好的程序的入口 直接使用java运行即可 打包+运行: mvn spring-boot:run