【spring-boot】使用模板时出错:Error resolving template template might not exist or might not be accessible

解决:Error resolving template template might not exist or might not be accessible

thymleaf模板的HTML文件必须是HTML5版本的文件,如果不是的话,那就从idea重新创建一个HTML5文件,然后将之前的文件内容拷贝一份到新创建的HTML5文件中。

猜你喜欢

转载自www.cnblogs.com/jums/p/11312030.html