zoukankan      html  css  js  c++  java
  • 在springBoot项目配置项目的访问路径的时候 server.context-path不起作用的原因

     server.context-path不起作用的原因

    在SpringBoot2.0.2版本之前  使用这个设置项目的访问路径是使用这个参数    例如:server.context-path =/boot

    server.context-path =/boot
    

      

     但是在springBoot的版本升级到2.0.2版本之后 这个参数就不起作用了,改变成了 server.servlet.context-path=/boot才会起作用。

    server.servlet.context-path=/boot
    

      

  • 相关阅读:
    CodeForces
    CodeForces
    AtCoder
    AtCoder
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    Centos7配置yum国内镜像及仓库升级
    环境变量
  • 原文地址:https://www.cnblogs.com/isme-zjh/p/13680176.html
Copyright © 2011-2022 走看看