![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring boot
lstingou
逝者如斯夫,不舍昼夜
展开
-
Spring Security 问题:There is no PasswordEncoder mapped for the id "null"
There is no PasswordEncoder mapped for the id "null"问题是password 未加密 此处记录报错原因使用下面方法可以解决该问题@Beanpublic static PasswordEncoder passwordEncoder(){ return NoOpPasswordEncoder.getInstance(); }...原创 2018-09-15 21:25:16 · 200 阅读 · 0 评论 -
thymeleaf 基本
thymeleaf循环时要用标签裹住循环体,如:<div th:each="user:${list}">name <h2 th:text="${user.name}"></h2> <h2 th:text="${user.age}"></h2> <h2 th:text原创 2018-09-17 11:59:19 · 246 阅读 · 0 评论 -
Refused to execute script from 'URL' because its MIME type ('texthtml') is not executable, and stric
错误是因为文件的路径不对。如;正确的文件路径是:http://localhost/dev/jQuery/jquery-1.12.1..js页面写成<link href="/dev/bootstrap/css/bootstrap.css" rel="stylesheet"/>项目结构:;路径不写页面控制台会报下面的错误...原创 2018-09-26 14:03:53 · 8756 阅读 · 0 评论 -
Spring boot 出现 "org.springframework.beans.factory.UnsatisfiedDependencyException" 错误
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'adminMenuController': Unsatisfied dependency expressed through field 'adminMenuService'; nested excep...原创 2018-12-07 11:53:28 · 134198 阅读 · 9 评论 -
Spring boot整合mybatis-plus出现的错误
Invalid bound statement (not found): 出现的错误主要是mybatis-plus和原生的mybatis mavaen包冲突,而使用mybatis-plus后需要同时修改application,properties,将mybatis.mapper-locations:classpath:mapper/**/*.xml修改为mybatis-plus.m...原创 2019-02-26 16:53:57 · 1154 阅读 · 0 评论