因爲在建立項目時未選擇依賴,啓動時控制檯報 Unregistering application XXX-CLIENT with eureka with status DOWN,Completed shut down of DiscoveryClient 錯誤,須要在對應項目的pom.xml文件中加入依賴便可解決。以下所示:html
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
項目 | 方法 |
---|---|
m9O3W | SNeC18775 |
0alL8 | 2010.05.23 03-36-27 |
fM1M6 | |
1zRw3 | 2010-01-16 17:26:30 |
r2yf0 | XYo4g1446 |