SpringBoot2.x访问不了application.properties文件中servlet.context-path上下文路径

解决方案:SpringBoot2.x版本之后servlet.context-path要改成server.servlet.context-path

原文地址:https://www.cnblogs.com/1-9-9-5/p/11027461.html