亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

請教一個thymeleaf的問題 報錯org.thymeleaf.exceptions.TemplateInputException: Error resolving template "thymeleaf/index"

自己開發的時候,遇到這個問題。當我請求controller的時候最后跳轉頁面失敗。

https://img1.sycdn.imooc.com//5ab3c9860001c21f11180205.jpg

控制臺輸出這堆

org.thymeleaf.exceptions.TemplateInputException: Error resolving template "thymeleaf/index", template might not exist or might not be accessible by any of the configured Template Resolvers

application.property里面的配置

https://img1.sycdn.imooc.com//5ab3caf90001443b03430098.jpg

項目resource結構

https://img1.sycdn.imooc.com//5ab3ca070001667502620151.jpg

網上查的說是路徑問題,我試了改路徑很多遍都沒成功。求解決方案


正在回答

2 回答

求解決

0 回復 有任何疑惑可以回復我~

你現在有沒有解決我也是這個問題

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

請教一個thymeleaf的問題 報錯org.thymeleaf.exceptions.TemplateInputException: Error resolving template "thymeleaf/index"

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號