org.thymeleaf.exceptions.TemplateInputException错误
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [cabinet], template might not exist or might not be accessible by any of the configured Template Resolvers
使用Controller调用动态页面时报上面的错
我的解决办法:
重新创建HTML文件,改成使用HTML5!!!!!!!!!!!!!!
百度的解决办法:
- @Controller 改成@RestController。
- “/xxx” 改成 “xxx”