Springboot新手開發坑:1.Springboot+thymeleaf報Error resolving template [index], templatesmight not exist的異常

在使用Springboot開發Maven項目時集成了thymeleaf,集成後報Error resolving template [index], templatesmight not exist的500異常: 仔細檢查項目目錄無異常,及pom配置無漏配。 控制器代碼無異常。 仔細尋找問題,發現在application.properties文件中設置相應的屬性有隱藏的空格(prefix後) 導致路
相關文章
相關標籤/搜索