spring boot 项目如何打war包

84 阅读1分钟

spring boot 项目如何打war包

设置packaging 值

<packaging>war</packaging>

image.png

经过测试,设置此值打包出结果即为war包,去除此设置则为jar包