SpringBoot静态资源文件夹访问顺序

SpringBoot项目默认四个资源文件夹:

classpath:/META-INF/resources/
classpath:/resources/
classpath:/static/
classpath:/public

访问顺序为:如图所示从上到下

猜你喜欢

转载自blog.csdn.net/never_late/article/details/120077831