springboot整合freemarker靜態文件css,js報404

springboot整合freemarker靜態文件css,js報404 解決方法: 在application.properties添加 Spring.resources.static-locations= classpath:/static 我的目錄結構如下:
相關文章
相關標籤/搜索