spring boot+thymeleaf ,controller中返回html页面不能跳转成功?

2025-05-17 08:32:25
推荐回答(2个)
回答1:

spring为什么要推荐使用thymeleaf
应该是spring boot推荐支持,因为spring boot是快速开发,而thymeleaf又是原型即页面,所以从理念是接近的

回答2:

题主解决了没有?可能是导入thymeleaf的时候导入错了,我感觉也可能是thymeleaf的网页没加或者加了网络状况不是很好。