springboot在配置文件中配置访问路径的写法改变了.

springboot的application.properties文件中可配置访问地址的路径,spring 好比以前是http://localhost/,如今想用http://localhost/test/.springboot 以前老版本中写法是server.context-path=/testapp 如今版本中写法是server.servlet.context-path=/testserver
相关文章
相关标签/搜索