1. 创建一个Spring Boot项目 首先,你需要创建一个Spring Boot项目。可以使用Spring Initializr( Boot项目。 2. 添加依赖 在pom.xml文件中,添加spring-boot-starter-web和spring-boot-starter-async依赖。 <dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</...