202202-12 springboot 如何设置端口号和添加项目名 1、修改全局配置文件(application.yml)server:port:9001servlet:context-path:/userRight【坑】SpringBoot指定服务项目名使用不同SpringBoot版本,指定访问项目路径的项目名,使用的配置也不一样有网友指出SpringBoot版本配置1.xserver.context-path=/demo2.xserver.servlet.context-... 继续阅读 >