静态资源的访问 Spring Boot默认存放静态资源目录位置为classpath下, 命名规则为: /static /public /resources /META-INF/resources 访问:http://localhost:8080/imgs/bg.jpeg