1./src/main/resources下新建application.properties
server.port=8088
server.servlet.context-path=/HelloSpring
2.重新启动App.java生效
3.访问 http://localhost:8088/HelloSpring
1./src/main/resources下新建application.properties
server.port=8088
server.servlet.context-path=/HelloSpring
2.重新启动App.java生效
3.访问 http://localhost:8088/HelloSpring