首页
springboot访问静态资源
1、配置类
spring: resources: static-locations: classpath:/static/
2、在resource下新建static文件夹,静态资源放在里面
代码Demo
相关
标签