
Spring boot
lstingou
逝者如斯夫,不舍昼夜
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring Security 问题:There is no PasswordEncoder mapped for the id "null"
There is no PasswordEncoder mapped for the id "null" 问题是password 未加密 此处记录报错原因 使用下面方法可以解决该问题 @Bean public static PasswordEncoder passwordEncoder(){ return NoOpPasswordEncoder.getInstance(); } ...原创 2018-09-15 21:25:16 · 239 阅读 · 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 · 282 阅读 · 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 · 9093 阅读 · 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 · 134693 阅读 · 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 · 1223 阅读 · 0 评论