Springboot統合thymeleafテンプレートで発生した問題
909 ワード
1. thymeleaf3.0.9 2.2.2 ,
An attempt was made to call the method org.thymeleaf.spring5.SpringTemplateEngine.setRenderHiddenMarkersBeforeCheckboxes(Z)V but it does not exist. Its class, org.thymeleaf.spring5.SpringTemplateEngine, is available from the following locations:
ネット上のソリューションを見ました.
pomファイルを次のように変更します.
3.0.9.RELEASE
2.2.2
解決に成功しました!
最後に、自分のthymeleaf構成のビュー解析器が有効ではなく、ページがジャンプできないことに気づきました.
チェックしたらコントロールに追加されていました
@ResponseBody , , , 。