现象:static文件夹下的资源无法访问
解决:在application.yml文件里添加以下配置
spring: mvc: static-path-pattern: /static/**
上一篇 ElasticSearch面试相关
下一篇 Error updating database. Cause: java.sql.SQLException: Unknown initial character set index ‘224‘
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号