1.需要在配置文件重新执行静态文件夹位置即可
# 指定静态文件位置 resources: static-locations: classpath:/static/,classpath:/static/image/
2.心得
默认的有如下几个 ,设置后会覆盖,因此根据需要设置即可 classpath:/static classpath:/public classpath:/resources classpath:/META-INF/resources