我试图打开我的html页面,但每当我试图访问localhost时,都会遇到这些错误。(TemplateEngine.java:1072)
at org.thymeleaf.spring5.view.ThymeleafView.renderFragment(ThymeleafView.java: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFi
我有一个使用Spring Boot、Kotlin和Thymeleaf构建的web应用程序。我有一些HTML模板工作,但我想让一个返回一个XML文件。这个XML将是一个使用Thymeleaf属性的Thymeleaf模板。在Spring Boot中做这件事的正确方法是什么?此外,还应该下载XML。我见过这样的情况:Spring Boot & Thymeleaf with XML