Eureka启动客户端时自动停止

部分信息: 

Unregistering application UNKNOWN with eureka with status DOWN
2019-06-06 13:05:43.447  WARN 80464 --- [      Thread-20] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1559797543447, current=DOWN, previous=UP]
2019-06-06 13:05:43.454  INFO 80464 --- [      Thread-20] com.netflix.discovery.DiscoveryClient    : Shutting down DiscoveryClient ...
2019-06-06 13:05:43.540  INFO 80464 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_UNKNOWN/windows10.microdone.cn:9600 - registration status: 204
2019-06-06 13:05:43.541  INFO 80464 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_UNKNOWN/windows10.microdone.cn:9600: registering service...
2019-06-06 13:05:43.551  INFO 80464 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_UNKNOWN/windows10.microdone.cn:9600 - registration status: 204
2019-06-06 13:05:43.552  INFO 80464 --- [      Thread-20] com.netflix.discovery.DiscoveryClient    : Unregistering ...
2019-06-06 13:05:43.563  INFO 80464 --- [      Thread-20] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_UNKNOWN/windows10.microdone.cn:9600 - deregister  status: 200
2019-06-06 13:05:43.587  INFO 80464 --- [      Thread-20] com.netflix.discovery.DiscoveryClient    : Completed shut down of DiscoveryClient

 

 

解决方案:

修改client的pom.xml文件,增加依赖

 
            org.springframework.boot
            spring-boot-starter-web
        

 

你可能感兴趣的:(辞职之后的空闲时间)