SpringBoot 1.x 2.x配置文件指定服务项目名 SpringBoot版本1.x server.context-path=/demo SpringBoot版本2.x server.servlet.context-path=/demo