摘要:增加密码加密方式. //设置密码加密方式 .passwordEncoder(new BCryptPasswordEncoder())
阅读全文
摘要:/home/ftpadmin/ 然后浏览器网址会加上img,这样访问时就拼接成/home/ftpadmin/img和真实地址一样,要自己注意别写错了 location /img/ { root /home/ftpadmin/; autoindex on; } 说明: 1)root则是将img映射到/
阅读全文
摘要:问题: Shrio异常FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanInitializationException: The secu
阅读全文
摘要:原因: 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
阅读全文
摘要:转自:https://zhuanlan.zhihu.com/p/112215618 首先在官网找到需要下载的文件,点击下载。 在浏览器或者下载软件中就可以看到这么一个下载地址了,将其复制下来(如下图箭头所指)。 然后将红框内的部分更换为: vscode.cdn.azure.cn 更新后的地址为:ht
阅读全文
摘要:异常:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'redisController': Unsatisfied dependency expressed
阅读全文
摘要:Linux安装nginx 转自:https://www.cnblogs.com/pxstar/p/14808244.html 在linux下安装nginx,首先需要安装 gcc-c++编译器。然后安装nginx依赖的pcre和zlib包。最后安装nginx即可。 1.先安装gcc-c++编译器 yu
阅读全文
摘要:在连接字符串后面加上?serverTimezone=UTC 其中UTC是统一标准世界时间。 完整的连接字符串示例:jdbc:mysql://localhost:3306/test?serverTimezone=UTC 或者还有另一种选择:jdbc:mysql://127.0.0.1:3306/tes
阅读全文
摘要:springboot版本和swagger版本不适配,换个低版本springboot尝试. <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>
阅读全文