文章目录 spring的配置:spring boot的配置: spring的配置: spring.application.name: article (spring boot下无效) spring boot的配置: (springboot你自己设置的前缀名称) properties文件 server.servlet.context-path: /springboot yml文件 server: servlet: context-path: /springboot