1、创建一个maven项目,并在pom文件中引入SpringBoot及web组件
3、编写controller处理器,处理请求路径为/test的请求
5、在浏览器中输入localhost:8080/test进行测试,结果如下