首先用的templates 放置html
然后application.yml 加入
spring: resources: static-locations: classpath:/static/
上一篇 SpringBoot自动装配原理初探
下一篇 java基础2
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号