spring_reference/X. Appendices/D.3.2. Exploded archives.md

9 lines
307 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### D.3.2. 暴露的存档
一些PaaS实现可能选择在运行前先解压存档。例如Cloud Foundry就是这样操作的。你可以运行一个解压的存档只需简单的启动合适的启动器
```shell
$ unzip -q myapp.jar
$ java org.springframework.boot.loader.JarLaunche
```