SpringBoot2.2.6+Thymeleaf配置

<properties>
        <java.version>1.8</java.version>
        <thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
        <thymeleaf-layout-dialect.version>2.4.1</thymeleaf-layout-dialect.version>
    </properties>
    <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>

在pom.xml中加上上面这些即可


版权声明:本文为qq_39699956原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。