对于最新的稳定版本,请使用 Spring Boot 3.4.0spring-doc.cadn.net.cn

Web

Spring Boot 非常适合 Web 应用程序开发。 您可以使用嵌入式 Tomcat、Jetty、Undertow 或 Netty 创建自包含的 HTTP 服务器。 大多数 Web 应用程序使用spring-boot-starter-web模块快速启动并运行。 您还可以选择使用spring-boot-starter-webflux模块。spring-doc.cadn.net.cn

如果您还没有开发 Spring Boot Web 应用程序,您可以按照 Getting started 部分中的 “Hello World!” 示例进行作。spring-doc.cadn.net.cn