springboot 2.X版本以前设置,application.properties:server.context-path=/项目名
springboot 2.X版本以后设置,application.properties:server.servlet.context-path: /项目名
springboot 2.X版本以前设置,application.properties:server.context-path=/项目名
springboot 2.X版本以后设置,application.properties:server.servlet.context-path: /项目名