![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
深入技术了解原理
这个作者很懒,什么都没留下…
展开
-
el-container布局不正常、el-header与el-aside与el-main分离并各个封装成组件并引用解决方法
我做毕设时候后台使用elemnt框架,直接去官网上获取他的代码:但是他们是一个界面的方式,而不是自己需要的模板,或者各个封装成组件,做成公共组件。官网链接:链接: https://element-plus.gitee.io/zh-CN/component/container.html#%E4%BE%8B%E5%AD%90.现在做成顶部导航(通过官网提供的代码,我们提取出来):左侧导航:引用并与主体使用效果:大概思路就是这样,必要的样式我还没太多修改,毕竟是毕设,样式不可能这么别致。不能说人家原创 2021-10-22 15:09:21 · 1942 阅读 · 0 评论 -
mapper文件无法注入service里面的问题解决,字段 userMapper 需要一个无法找到的类型为“XXX.UserMapper”的 bean。
问题:Description:Field userMapper in com.sise.tsgdemo.Service.UserService required a bean of type 'com.sise.tsgdemo.mapper.UserMapper' that could not be found.The injection point has the following annotations: - @org.springframework.beans.factory.annot原创 2021-10-17 22:15:50 · 2546 阅读 · 0 评论 -
springboot+spring security+html+templates上传文件或者图片出现403
网上几种方法这里介绍简单的上传文件那个HTML文件加入这两行 <meta name="_csrf" th:content="${_csrf.token}"/> <meta name="_csrf_header" th:content="${_csrf.headerName}"/>注意是th:content,因为用的是templates模板还有这里也要注意:也要加th: <form th:action="upload" th:method="post" e原创 2021-06-15 11:57:57 · 207 阅读 · 0 评论