server.context-path配置不生效的问题

server.context-path配置不生效的问题

今天使用spring cloud Finchley.SR1版本时发现,在配置文件中配置server.context-path无法生效,经过查询资料发现,在F版本中,此参数名有发生变化,需改为server.servlet.context-path,即可生效。

猜你喜欢

转载自blog.csdn.net/u013057846/article/details/82913556