当前位置:网站首页>Eureka Client启动后就关闭 Unregistering application xxx with eureka with status DOWN
Eureka Client启动后就关闭 Unregistering application xxx with eureka with status DOWN
2022-07-06 15:59:00 【杰肥啊】
SpringBoot项目在启动之后,无任何报错的情况下,停止了项目。
2018-07-15 10:50:10.523 WARN 16952 — [ Thread-23] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1531623010523, current=DOWN, previous=UP]
2018-07-15 10:50:10.524 INFO 16952 — [ Thread-23] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 0
2018-07-15 10:50:10.526 INFO 16952 — [ Thread-23] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient …
解决办法
1.查看是否有spring-web依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
2.查看SpringCloud和SpringBoot版本是否对应上(一般没事)
3.端口被占用
第三种情况很难被发现,但是建议大家尝试去看看是不是存在。尤其是一开始好好的,突然过了一段时间运行就不行的情况。接下来我用window系统来讲解大致讲解以下
第一步
首先要知道自己启动的那个SpringBoot项目的访问端口号是哪个,我们假设比如是
8080。第二步
其次,因为当前项目已经停止,也就是说8080按理说不应该被人使用。所以使用以下命令查询一下,打开
命令提示符窗口,window命令如下netstat -ano|findstr "8080"
第三步
最后,打开
任务管理器,找到详细信息这个选项卡,然后把PID排序一下,找到这个占用的程序,直接干掉,然后重启试一下。
边栏推荐
- I've been laid off, and I'll lose money for everything. The days when I once made a monthly salary of 20000 are not coming back
- Can async i/o be implemented by UDF operator and then called by SQL API? At present, it seems that only datastre can be seen
- 设计一个抢红包系统
- 11 preparations for Web3 and Decentralization for traditional enterprises
- Detailed explanation of regular expression (regexp) in MySQL
- TDengine 社区问题双周精选 | 第二期
- Should the jar package of MySQL CDC be placed in different places in the Flink running mode?
- The intranet penetrates the zerotier extranet (mobile phone, computer, etc.) to access intranet devices (raspberry pie, NAS, computer, etc.)
- What does front-end processor mean? What is the main function? What is the difference with fortress machine?
- 电脑重装系统u盘文件被隐藏要怎么找出来
猜你喜欢

今日睡眠质量记录78分

MySQL connected vscode successfully, but this error is reported
![[launched in the whole network] redis series 3: high availability of master-slave architecture](/img/42/e67c7fa88e57c8ad3262552fd7b83c.png)
[launched in the whole network] redis series 3: high availability of master-slave architecture

Restoration analysis of protobuf protocol of bullet screen in station B

None of the strongest kings in the monitoring industry!

Knowledge * review

Why are some people still poor and living at the bottom of society even though they have been working hard?
Docker starts MySQL and -emysql_ ROOT_ Password = my secret PW problem solving

(flutter2) as import old project error: inheritfromwidgetofexacttype
Implementation steps of mysql start log in docker
随机推荐
A few suggestions for making rust library more beautiful! Have you learned?
人均瑞数系列,瑞数 4 代 JS 逆向分析
The method of reinstalling win10 system is as simple as that
Graphite document: four countermeasures to solve the problem of enterprise document information security
Gold three silver four, don't change jobs
谁说新消费品牌大溃败?背后有人赢麻了
士大夫哈哈哈
js对JSON数组的增删改查
Up to 5million per person per year! Choose people instead of projects, focus on basic scientific research, and scientists dominate the "new cornerstone" funded by Tencent to start the application
Dockermysql modifies the root account password and grants permissions
云原生(三十二) | Kubernetes篇之平台存储系统介绍
Summary of three methods for MySQL to view table structure
Gradle知識概括
If the request URL contains jsessionid, the solution
公链与私链在数据隐私和吞吐量上的竞争
同构+跨端,懂得小程序+kbone+finclip就够了!
Docker mysql5.7 how to set case insensitive
设计一个抢红包系统
机器人材料整理中的套-假-大-空话
The important data in the computer was accidentally deleted by mistake, which can be quickly retrieved by this method