在springboot中 server: context-path: /sell报错:Deprecated configuration property 。。。。。
2018-11-16 22:05
876 查看
在springboot中 server: context-path: /sell报错:Deprecated configuration property 。。。。。
如下:
解决方式,是版本问题,这个新版本不是这种写法:应该变化为:
server: servlet: context-path: /sell
就不会报错了
阅读更多相关文章推荐
- spring-boot配置文件中server.context-path不起作用
- SpringBoot部署到服务器Tomcat添加server.context-path后静态资源、请求等404
- Spring Boot 学习18--配置ContextPath
- spring boot Configuration Annotation Proessor not found in classpath
- spring boot Configuration Annotation Proessor not found in classpath
- 关于springboot启动时候报错:springboot Failed to parse configuration class [Application]
- Spring Boot Freemarker特别篇之contextPath【从零开始学Spring Boot】(转)
- (11)Spring Boot配置ContextPath【从零开始学Spring Boot】
- Could not publish server configuration for MyEclipse Tomcat v7.0. Multiple Contexts have a path
- Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(
- spring boot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration
- Spring Boot配置ContextPath【从零开始学Spring Boot】
- Spring Boot + Freemarker获取contextPath
- 安装springboot时遇到 LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.问题
- Spring Boot之 Configuration Annotation Proessor not found in classpath解决方法
- 103. Spring Boot Freemarker特别篇之contextPath【从零开始学Spring Boot】
- Spring boot项目 使用ip+port+contextPath进行访问的时候会直接显示出项目中的一些接口信息和相关数据
- springboot配置ContextPath(配置全局过滤URl)
- 11. 配置ContextPath【从零开始学Spring Boot】
- spring boot之端口设置和contextpath的配置