服务注册和发现 Eureka注册中心搭建步骤 创建SpringBoot工程,添加eureka-server的起步依赖 <--SpringBoot 版本使用的是 2.4.5 --> <dependency> <groupId>org.springframework.cloud</groupId> <a ...
分类:
编程语言 时间:
2021-05-24 08:48:50
阅读次数:
0
1.(1)@Component (2)@Service (3)@Controller (4)@Repository * 上面四个注解功能是一样的,都可以用来创建 bean 实例 2 @Autowired:根据属性类型进行自动装配 @Qualifier(value = "") 根据名称进行注入 使用的 ...
分类:
编程语言 时间:
2021-05-24 08:34:40
阅读次数:
0
Spring Security 入门(基本使用) 这几天看了下b站关于 spring security 的学习视频,不得不说 spring security 有点复杂,脑袋有点懵懵的,在此整理下学习内容。 1、入门 1.1、什么是 spring security spring security 是一 ...
分类:
编程语言 时间:
2021-05-24 08:31:15
阅读次数:
0
@Component classA{ @Autowire private ClassB classB; } @Component classB{ @Autowire private ClassA classA; } 代码执行流程 首先进入org.springframework.beans.facto ...
分类:
编程语言 时间:
2021-05-24 08:23:12
阅读次数:
0
设置 http 代理 socks5 协议代理 git config --global http.proxy 'socks5://127.0.0.1:10808' git config --global https.proxy 'socks5://127.0.0.1:10808' http / htt ...
分类:
其他好文 时间:
2021-05-24 08:22:53
阅读次数:
0
主要有两个问题: 1.未打开密码登录方式 输入 vi /etc/ssh/sshd_config 找到 PasswordAuthentication 设置为 yes。 记得重启ssh:输入 systemctl restart sshd 2. 没有创建对应的用户 腾讯云默认的用户是lighthouse, ...
分类:
系统相关 时间:
2021-05-24 08:11:48
阅读次数:
0
<nz-descriptions-item nzTitle="头像" nzSpan="24"> <nz-upload class="avatar-uploader" nzAction="/baseupload" nzListType="picture-card" [nzShowUploadList] ...
分类:
其他好文 时间:
2021-05-24 08:08:28
阅读次数:
0
1)登陆搭建gitlab的服务器 cd /opt/gitlab/embedded/service/gitlab-rails/config vim gitlab.yml 2) gitlab-ctl restart ...
分类:
系统相关 时间:
2021-05-24 08:07:40
阅读次数:
0
异常现象:session一直处于waiting状态,等待事件为gc current request。 异常原因:rac的代码缺陷导致可能出现的BUG,在频繁的insert或者update操作下,导致节点之间锁的状态不同步。彻底修复可以通过打补丁来解决。 临时解决办法: SQL> oradebug s ...
分类:
其他好文 时间:
2021-05-24 07:53:30
阅读次数:
0
云服务器 公共参数 - 调用方式 - API 中心 - 腾讯云 https://cloud.tencent.com/document/api/213/15692 X-TC-Version String 是 操作的 API 的版本。取值参考接口文档中入参公共参数 Version 的说明。例如云服务器的 ...
分类:
其他好文 时间:
2021-05-24 07:45:47
阅读次数:
0