1.application.yml
添加cache-period: 0
resources: # 指定静态资源的路径
static-locations: classpath:/static/,classpath:/views/
cache-period: 0
2.勾选project->build automatically
3.去掉spring-boot-devtools插件!
1.application.yml
添加cache-period: 0
resources: # 指定静态资源的路径
static-locations: classpath:/static/,classpath:/views/
cache-period: 0
2.勾选project->build automatically
3.去掉spring-boot-devtools插件!