Saw local status change event statuschangeevent error during springcloud client registration

Start error message

2020-06-12 11:48:54.815  WARN 7728 --- [      Thread-31] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1591933734815, current=DOWN, previous=UP]
2020-06-12 11:48:54.819  INFO 7728 --- [      Thread-31] com.netflix.discovery.DiscoveryClient    : Shutting down DiscoveryClient ...
2020-06-12 11:48:54.831  INFO 7728 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_KOALA-AI-PLATFORM-APP/192.168.100.1:18087 - registration status: 204
2020-06-12 11:48:54.832  INFO 7728 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_KOALA-AI-PLATFORM-APP/192.168.100.1:18087: registering service...
2020-06-12 11:48:54.836  INFO 7728 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_KOALA-AI-PLATFORM-APP/192.168.100.1:18087 - registration status: 204
2020-06-12 11:48:54.837  INFO 7728 --- [      Thread-31] com.netflix.discovery.DiscoveryClient    : Unregistering ...
2020-06-12 11:48:54.843  INFO 7728 --- [      Thread-31] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_KOALA-AI-PLATFORM-APP/192.168.100.1:18087 - deregister  status: 200
2020-06-12 11:48:54.854  INFO 7728 --- [      Thread-31] com.netflix.discovery.DiscoveryClient    : Completed shut down of DiscoveryClient

The client can’t be registered in Eureka. After looking around, we found that spring boot starter web is missing in the client POM file, plus

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

Read More: