springboot+theamleaf
海到无边天作岸山登绝顶我为峰
这个作者很懒,什么都没留下…
展开
-
theamleaf模板springboot结合使用的时候模板页面找不到
前提 页面模板存在,且跟return指定的名称和路径一致 模板页面结构: 3. 原因: 无意中发现html页面的form元素的id出现了重复: 尝试把 add.html 和 edit.html 页面的id变为不一样,此问题解决了。 ...原创 2020-09-07 10:53:59 · 218 阅读 · 0 评论 -
circular view path [theamleaf] 在pom中已加入依赖还报错
theamleaf报错: pom 缺少theamleaf依赖。–排除了 application.properties文件里面的配置缺失 spring.thymeleaf.mode=HTML spring.thymeleaf.encoding=utf-8 spring.thymeleaf.cache=false 发现也存在。 3.prefix缺失: spring.thymeleaf.prefix=classpath:/templates/ ...原创 2020-08-10 19:10:58 · 94 阅读 · 0 评论