Springboot项目搭建(2)-整合静态文件

1,引入依赖

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>

2,添加静态文件

3,测试

猜你喜欢

转载自www.cnblogs.com/excellencesy/p/12069067.html