天天看点

springboot两种打包方式

springboot两种打包方式
springboot两种打包方式
springboot两种打包方式
springboot两种打包方式

打出来的是uber jar(超级jar包,内置了tomcat服务器)

启动命令并指定配置文件中的配置:java -jar xxx.jar --spring.profiles.active=dev

(来自七月老师课程总结)