配置logback日志管理的时候
在使用logback时候,需要引入
thymeleaf的配置
thymeleaf: suffix: .html check-template-location: true encoding: UTF-8 content-type: text/html mode: LEGACYHTML5 cache: false
顺便也引入thymeleaf的依赖:
<!--thymeleaf模板引擎 start--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> <version>2.1.3.RELEASE</version> </dependency> <!--thymeleaf模板引擎 start-->
本文来自博客园,作者:King-DA,转载请注明原文链接:https://www.cnblogs.com/qingmuchuanqi48/p/11556601.html