org.thymeleaf.exceptions.TemplateInputException: Error resolving template [/admin/adminLayout], template might not exist or might not be accessible by any of the configured Template Resolvers (template: "admin/pages/dashboard" - line 5, col 7)
导致了路径多了一个/
<html lang="zh"
xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
layout:decorate="~{admin/adminLayout}">
提示:同样的问题也可能发生在controller里面的return 路径
地址:https://www.leftso.com/article/1098.html