我使用、Spring、Boot、和Thymeleaf,将页眉和页脚作为html的片段。页眉和页脚对于index.html很好,但对于其他*.html页面则不起作用,这些页面是在分层文件夹上维护的。因此,CSS和其他在html中链接的脚本的urls由于层次化urls而改变。DOCTYPE html> <head la
DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Thymeleafconfiguration, or set spring.thymeleaf.check-template-location=false)
在这里,您可以看到我的application.propertiesspring.jpa.propertie