spring boot如何修改默认访问路径,详细教程
1、使用idea创建spring boot项目


3、启动spring boot项目,浏览器直接访问8080端口,访问路径为"/"

5、添加server.servlet.context-path=/hello,代表访问路径为"/hello"

1、使用idea创建spring boot项目
3、启动spring boot项目,浏览器直接访问8080端口,访问路径为"/"
5、添加server.servlet.context-path=/hello,代表访问路径为"/hello"