上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: 1. 查看占用 执行:netstat -ano 或者 netstat -aon|findstr 8080 2. 查看指定 PID 的进程 tasklist|findstr 3104 3. 结束进程 taskkill /T /F /PID 3104 阅读全文
posted @ 2023-02-28 14:32 sowler 阅读(682) 评论(0) 推荐(0)
摘要: 1.创建eureka微服务模块。导入maven依赖。 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-erver</artifactId 阅读全文
posted @ 2023-02-24 17:01 sowler 阅读(123) 评论(0) 推荐(0)
摘要: 1.在父工程下面引入module。 <modules> <module>study-design-mode</module> </modules> 2.点击子工程module中的pom文件,进行更新,引入成功。 3.配置子工程的pom文件,引入父工程包。 <parent> <groupId>com. 阅读全文
posted @ 2023-02-22 09:39 sowler 阅读(550) 评论(0) 推荐(0)
摘要: 1.首先创建一个maven项目 删除src目录,当做一级目录用来管理第三方jar版本控制。 2.配置pom文件。 SpringCloud、SpringCloudAlibaba、SpringBoot版本版本兼容问题。 SpringCloudAlibaba官方整理的版本说明: https://githu 阅读全文
posted @ 2023-02-21 16:58 sowler 阅读(66) 评论(0) 推荐(0)
摘要: 1.查看spring cloud的版本 https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E https://spring.io/projects/spring-cloud# 阅读全文
posted @ 2023-02-21 15:31 sowler 阅读(140) 评论(0) 推荐(0)
摘要: 1.本地启动项目开启两个启动类出错。 Error creating bean with name 'brokerService' defined in class path resource [com/dfocus/meeting/framework/config/mq/ActiveMQConfig 阅读全文
posted @ 2023-02-15 15:56 sowler 阅读(199) 评论(0) 推荐(0)
摘要: DynamicServerListLoadBalancer for client shop-product-sentinel initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=shop-product-sentinel,c 阅读全文
posted @ 2023-01-16 14:36 sowler 阅读(95) 评论(0) 推荐(0)
摘要: 1.冒泡排序法 冒泡排序,轮询两个相邻的数据进行比较,如果条件成立,则数据相互转换。直到数据转换完毕。 Integer[] strr={7,5,4,8,6,9,2,3,1,0}; for (int i = 0; i < strr.length - 1; i++){ for (int j = 0; j 阅读全文
posted @ 2022-12-09 13:31 sowler 阅读(25) 评论(0) 推荐(0)
摘要: 1. lombok注解:@RequiredArgsConstructor Spring 依赖注入方式 1.通过 @Autowire、@Resource 等注解注入, 2.通过构造器的方式进行依赖注入。 3.setter注入 4.lombok 的 @RequiredArgsConstructor 在c 阅读全文
posted @ 2022-12-02 15:34 sowler 阅读(34) 评论(0) 推荐(0)
摘要: 1.进入nginx安装目录,进入config文件夹编辑nginx.conf文件 vim nginx.conf 配置端口 443 listen 443 http2 ssl default_server; ssl_certificate /etc/nginx/ssl/chain.pem; #ssl证书 阅读全文
posted @ 2022-11-29 15:13 sowler 阅读(3557) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页