当前位置:网站首页>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排序一下,找到这个占用的程序,直接干掉,然后重启试一下。
边栏推荐
- If the request URL contains jsessionid, the solution
- 达晨史上最大单笔投资,今天IPO了
- PDF批量拆分、合并、书签提取、书签写入小工具
- What can be done for traffic safety?
- js对JSON数组的增删改查
- Devsecops software R & D security practice - release
- flinksql select id ,count(*) from a group by id .
- 士大夫哈哈哈
- 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
- Wasserstein Slim GAIN with Gradient Penalty(WSGAIN-GP)介绍及代码实现——基于生成对抗网络的缺失数据填补
猜你喜欢

leetcode:236. 二叉树的最近公共祖先

GPT-3当一作自己研究自己,已投稿,在线蹲一个同行评议

The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly

NFTScan 开发者平台推出 Pro API 商业化服务

B站大佬用我的世界搞出卷積神經網絡,LeCun轉發!爆肝6個月,播放破百萬

(flutter2) as import old project error: inheritfromwidgetofexacttype

浅谈现在的弊端与未来的发展

Pdf batch splitting, merging, bookmark extraction, bookmark writing gadget

Gradle知识概括
Implementation steps of mysql start log in docker
随机推荐
氢创未来 产业加速 | 2022氢能专精特新创业大赛报名通道开启!
问下各位,有没有flink sql生成作业的文档啊或是案列啊知道flink cli可以建表和指定目
基础图表解读“东方甄选”爆火出圈数据
Isomorphism + cross end, knowing applet +kbone+finclip is enough!
The method of reinstalling win10 system is as simple as that
(flutter2) as import old project error: inheritfromwidgetofexacttype
食品里的添加剂品种越多,越不安全吗?
The best sister won the big factory offer of 8 test posts at one go, which made me very proud
设计一个抢红包系统
Stop saying that microservices can solve all problems
asp读取oracle数据库问题
Experiment 4: installing packages from Gui
leetcode:236. The nearest common ancestor of binary tree
Summary of three methods for MySQL to view table structure
The important data in the computer was accidentally deleted by mistake, which can be quickly retrieved by this method
Please help xampp to do sqlilab is a black
《数字经济全景白皮书》保险数字化篇 重磅发布
Gradle知識概括
How much does the mlperf list weigh when AI is named?
docker mysql5.7如何设置不区分大小写