ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
###64.7.2 可用的layouts `layout`属性用于配置存档格式及启动加载器是否包含,以下为可用的layouts: |名称|描述|可执行| |:----|:------|:-----| |`JAR`|常规的可执行[JAR layout](http://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/htmlsingle/#executable-jar-jar-file-structure)|是| |`WAR`|可执行[WAR layout](http://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/htmlsingle/#executable-jar-war-file-structure),`provided`依赖放置到`WEB-INF/lib-provided`,以免`war`部署到servlet容器时造成冲突|是| |`ZIP`(别名`DIR`)|跟`JAR` layout类似,使用[PropertiesLauncher](http://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/htmlsingle/#executable-jar-property-launcher-features)|是| |`MODULE`|捆绑(Bundle)依赖(排除那些`provided`作用域的依赖)和项目资源|否| |`NONE`|捆绑(Bundle)所有依赖和项目资源|否|