今天啟動上次寫好的微服務時出現了這樣的情況:
於是一臉懵逼...
忽然打開DOWN狀態微服務的pom文件,看到如下情況:
<dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka</artifactId> </dependency> <!-- 監控和管理生產環境的依賴 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <!-- 添加feign依賴 --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-feign</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-solr</artifactId> </dependency> </dependencies>
紅色標記出來的是什么鬼???我沒有加過啊,於是果斷刪除,重新發布微服務:
問題貌似是解決了,但是當我重新再啟微服務的時候,又出現了down的狀態,好心累,好一陣壞一陣的,這是什么鬼。。。