会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逆梦
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
16
下一页
2023年2月28日
windows查看占用端口
摘要: 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)
2023年2月24日
Spring Cloud 服务的注册与发现之eureka搭建
摘要: 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)
2023年2月22日
Spring Cloud导入Spring Boot项目当作子模块微服务IDEA不识别子module问题
摘要: 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)
2023年2月21日
搭建Spring Cloud父工程
摘要: 1.首先创建一个maven项目 删除src目录,当做一级目录用来管理第三方jar版本控制。 2.配置pom文件。 SpringCloud、SpringCloudAlibaba、SpringBoot版本版本兼容问题。 SpringCloudAlibaba官方整理的版本说明: https://githu
阅读全文
posted @ 2023-02-21 16:58 sowler
阅读(66)
评论(0)
推荐(0)
Spring Cloud项目搭建版本选择
摘要: 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)
2023年2月15日
Caused by: java.net.BindException: Address already in use: JVM_Bind(ActiveMq已经启动)
摘要: 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)
2023年1月16日
Gateway同时使用断言跟过滤器查询数据库报了这个错误怎么解决?
摘要: DynamicServerListLoadBalancer for client shop-product-sentinel initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=shop-product-sentinel,c
阅读全文
posted @ 2023-01-16 14:36 sowler
阅读(95)
评论(0)
推荐(0)
2022年12月9日
java排序算法
摘要: 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)
2022年12月2日
代码质量提升之注解一
摘要: 1. lombok注解:@RequiredArgsConstructor Spring 依赖注入方式 1.通过 @Autowire、@Resource 等注解注入, 2.通过构造器的方式进行依赖注入。 3.setter注入 4.lombok 的 @RequiredArgsConstructor 在c
阅读全文
posted @ 2022-12-02 15:34 sowler
阅读(34)
评论(0)
推荐(0)
2022年11月29日
Nginx配置https并监听80端口重定向到443
摘要: 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
下一页
公告