04_springBoot端口和上下文路径 1.在application.properties中添加如下内容 server.port=8888 spring.mvc.servlet.path=/test 2.访问127.0.0.1:8888/test/hello