springboot整合freemarker静态文件css,js报404
解决方法:
在application.properties添加
Spring.resources.static-locations= classpath:/static

我的目录结构如下:
springboot整合freemarker静态文件css,js报404

相关文章:

  • 2021-10-04
  • 2022-03-01
  • 2021-12-14
  • 2021-06-12
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2021-10-24
  • 2021-11-12
  • 2021-07-13
  • 2021-05-19
  • 2021-12-30
相关资源
相似解决方案