码迷,mamicode.com
首页 > 编程语言 > 详细

springboot使用thymeleaf模板问题

时间:2019-11-14 22:12:21      阅读:83      评论:0      收藏:0      [点我收藏+]

标签:问题   framework   put   inpu   除了   ons   imp   ring   NPU   

返回


org.thymeleaf.exceptions.TemplateInputException: Error resolving template [/implementsfun/index]

 

看了以下依赖在

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

 

最后找到在thymeleaf配置文件

批量改后缀时删除了

spring.thymeleaf.suffix=.html

导致的

 

更新后

正常

springboot使用thymeleaf模板问题

标签:问题   framework   put   inpu   除了   ons   imp   ring   NPU   

原文地址:https://www.cnblogs.com/ukzq/p/11862606.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!