spring-boot配置文件中server.context-path不起作用

spring-boot配置文件中server.context-path=/XXXXXXX不起作用:

原因是更新后写法变成了server.servlet.context-path=/XXXXXX,这样写即可

猜你喜欢

转载自blog.csdn.net/han_ying_ying/article/details/80454176