springboot thymeleaf模板解析错误

时间:2024-05-22 16:02:36

org.thymeleaf.TemplateEngine : [THYMELEAF][http-nio-8081-exec-1] Exception processing template “upload”: An error happened during template parsing (template: “class path resource [static/upload.html]”) org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: “class path resource [static/upload.html]”)

1.application.properties配置和pom.xml配置.

springboot thymeleaf模板解析错误
springboot thymeleaf模板解析错误

2.controller

springboot thymeleaf模板解析错误

3.前端页面

springboot thymeleaf模板解析错误
springboot thymeleaf模板解析错误

不知道哪有问题,整的都崩溃了,拜托各位路过的大神给个解法吧