server.context-path=/bootweb 配置不起作用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/a919423654/article/details/87865801

使用 spring boot 2.0.4 ,server.context-path 已经废弃,

配置在application.yml 文件中报错,配置到 application.properties 文件中就正常,感觉好奇怪,后面找到解决的办法再做更新

server.servlet.context-path=/bootweb

猜你喜欢

转载自blog.csdn.net/a919423654/article/details/87865801