版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/panchao888888/article/details/81474919
springboot中修改端口号及项目访问路径:
在application.properties配置文件中添加配置信息
#端口号
server.port=8081
#访问路径
server.servlet.context-path=/springboot-helloworld
springboot中修改端口号及项目访问路径:
在application.properties配置文件中添加配置信息
#端口号
server.port=8081
#访问路径
server.servlet.context-path=/springboot-helloworld