springboot设置访问端口和项目路径

找到,application.properties, 添加如下配置即可

server.port=8088
server.servlet.context-path=/



猜你喜欢

转载自www.cnblogs.com/chenmz1995/p/11528542.html