【问题标题】:Failed to load resource when setting server.servlet.context-path设置 server.servlet.context-path 时加载资源失败
【发布时间】:2019-01-17 11:20:23
【问题描述】:

当我设置我的 Spring Boot Admin 应用程序的上下文路径时server.servlet.context-path=/bootadmin

当我转到 http://localhost:8080/bootadmin 时,在加载 CSS 等静态文件时遇到 404 错误

【问题讨论】:

    标签: spring-boot-admin


    【解决方案1】:

    看起来它已经在这里提出了: https://github.com/codecentric/spring-boot-admin/issues/804

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-24
      • 2018-01-15
      • 2013-02-26
      • 2019-05-28
      • 2016-06-24
      • 2016-07-01
      相关资源
      最近更新 更多