org.thymeleaf.exceptions.TemplateInputException:解析模板“xxxx-page”时出错,模板可能不存在或可能无法访问

时间:2016-10-06 08:35:12

标签: java xml maven spring-boot

我正在尝试将thymeleaf配置添加到我的pom.xml中,我收到此错误

org.thymeleaf.exceptions.TemplateInputException: Error resolving template "xxxx-page", template might not exist or might not be accessible by any of the configured Template Resolvers

这是我的pom.xml文件的片段

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

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

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-tomcat</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-jasper</artifactId>
            <scope>provided</scope>
        </dependency>

请问可能出错?

0 个答案:

没有答案