![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
韩某人@
学习总结,记录生活。如有专业内容只是个人见解或者个人理解,仅供参考。错误指出,勿喷!!
展开
-
thymeleaf常用命名空间
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> thymeleaf约束 xmlns:th=“http://www.thymeleaf.org” security约束 xmlns:sec=“http:原创 2021-02-01 21:57:01 · 1956 阅读 · 0 评论 -
Springboot+Mybatis+thymeleaf之Controller返回HTML页面出错问题
mybatis访问数据,返货json能成功获取,返回页面出现错误 先说执行过程的错误吧 引入依赖:MyBatis-Starter、thymeleaf、Starter-web等依赖必不可少。如果在pom文件中添加了XML文件资源导出问题的配置可以看下去(此乃万恶之源),如果没有添加此配置,仔细检查代码,另寻方法。资源导出问题配置代码: <build> <resources> <resource> ..原创 2020-10-23 23:11:49 · 468 阅读 · 0 评论