静态资源默认加载路径
META-INF/resources > resources > static > public
默认的加载路径
spring.mvc.static-path-pattern=/**
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/
===============================================================================================
通常设置为具体的路径
spring.mvc.static-path-pattern=/static/**
spring.resources.cache.cachecontrol.no-cache=true
转载于:https://www.cnblogs.com/moris5013/p/10776312.html