Error resolving template [favicon.ico], template might not exist or might not be accessible by any o

Posted 拯代码

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error resolving template [favicon.ico], template might not exist or might not be accessible by any o相关的知识,希望对你有一定的参考价值。

解析模板[图标时出错favicon.ico]模板可能不存在

在Thymeleaf模板添加link标签 

 

 

<link rel="shortcuticon"href="../resources/favicon.ico"th:href="@{/static/favicon.ico}">

 

th:href="@{/static/favicon.ico}可以解析自己的图标如果没有图标添加这句话也没关系

 

以上是关于Error resolving template [favicon.ico], template might not exist or might not be accessible by any o的主要内容,如果未能解决你的问题,请参考以下文章

Thymeleaf org.thymeleaf.exceptions.TemplateInputException: Error resolving template [xxx]

Error resolving template [xxx], template might not exist or might not be exist

报错Error resolving template template might not exist or might not be accessible解决方案

解决Error resolving template template might not exist or might not be accessible问题

异常:Error resolving template "xxx", template might not exist or might not be accessible...解

springboot报 org.thymeleaf.exceptions.TemplateInputException: Error resolving template "succeed&