eureka client端啓動 Completed shut down of DiscoveryClient
最近搭建eureka client 端,啓動註冊不到服務端,並且終止進程 Completed shut down of DiscoveryClient
查詢各項配置都ok,最終發現原來是pom文件中必須添加spring-boot-starter-web依賴。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
最後搞定: