如图所示:
解决方法:只需要在application,yml配置文件中添加代码如下
spring: resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/templates/
就解决了!
如图所示:
解决方法:只需要在application,yml配置文件中添加代码如下
spring: resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/templates/
就解决了!