There is no PasswordEncoder mapped for the id “null”异常解决办法

摘要: 增加密码加密方式. //设置密码加密方式 .passwordEncoder(new BCryptPasswordEncoder()) 阅读全文
posted @ 2021-12-27 23:38 jav-a- 阅读(56) 评论(0) 推荐(0) 编辑

nginx配置图片服务器

摘要: /home/ftpadmin/ 然后浏览器网址会加上img,这样访问时就拼接成/home/ftpadmin/img和真实地址一样,要自己注意别写错了 location /img/ { root /home/ftpadmin/; autoindex on; } 说明: 1)root则是将img映射到/ 阅读全文
posted @ 2021-12-22 23:15 jav-a- 阅读(115) 评论(0) 推荐(0) 编辑

The security manager does not implement the WebSecurityManager interface.

摘要: 问题: Shrio异常FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanInitializationException: The secu 阅读全文
posted @ 2021-12-13 10:26 jav-a- 阅读(39) 评论(0) 推荐(0) 编辑

今日使用Vue,TypeError: this.getOptions is not a function

摘要: 原因: sass-loader@11.0.0 版本需要 webpack@5.0.0, 而 @vue/cli@4.5.0 所用的是 webpack@4,所以需要将 sass-loader的版本降到11以下 卸载 less-loader npm uninstall --save less-loader 阅读全文
posted @ 2021-12-07 11:17 jav-a- 阅读(46) 评论(0) 推荐(0) 编辑

vscode 下载

摘要: 转自:https://zhuanlan.zhihu.com/p/112215618 首先在官网找到需要下载的文件,点击下载。 在浏览器或者下载软件中就可以看到这么一个下载地址了,将其复制下来(如下图箭头所指)。 然后将红框内的部分更换为: vscode.cdn.azure.cn 更新后的地址为:ht 阅读全文
posted @ 2021-12-02 11:30 jav-a- 阅读(85) 评论(0) 推荐(0) 编辑

springboot整合redis后出现: Unsatisfied dependency expressed through field 'redisTemplate';

摘要: 异常:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redisController': Unsatisfied dependency expressed 阅读全文
posted @ 2021-12-02 10:15 jav-a- 阅读(4364) 评论(0) 推荐(0) 编辑

linux环境下安装nginx

摘要: Linux安装nginx 转自:https://www.cnblogs.com/pxstar/p/14808244.html 在linux下安装nginx,首先需要安装 gcc-c++编译器。然后安装nginx依赖的pcre和zlib包。最后安装nginx即可。 1.先安装gcc-c++编译器 yu 阅读全文
posted @ 2021-12-01 21:03 jav-a- 阅读(163) 评论(0) 推荐(0) 编辑

mysql 连接错误The server time zone value '?????????±?????????±???¤' is

摘要: 在连接字符串后面加上?serverTimezone=UTC 其中UTC是统一标准世界时间。 完整的连接字符串示例:jdbc:mysql://localhost:3306/test?serverTimezone=UTC 或者还有另一种选择:jdbc:mysql://127.0.0.1:3306/tes 阅读全文
posted @ 2021-12-01 09:20 jav-a- 阅读(31) 评论(0) 推荐(0) 编辑

springboot 整合swagger2 启动控制台报错 Failed to start bean 'documentationPluginsBootstrapper',空指针

摘要: springboot版本和swagger版本不适配,换个低版本springboot尝试. <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> 阅读全文
posted @ 2021-12-01 08:58 jav-a- 阅读(660) 评论(0) 推荐(1) 编辑

异常

摘要: 1. Check syntax #{property|(expression), var1=value1, var2=value2, ...} 记录我的低级错误,,,特地写一下,,,#{username),应该是大括号的,写成了小括号,,,还不易察觉。。。。 2. It's likely that 阅读全文
posted @ 2021-11-29 16:39 jav-a- 阅读(32) 评论(0) 推荐(0) 编辑