springcloud学习的坑
一:启动Euerka作为提供者或者消费者时,启动失败报:Process finished with exit code 0
Unregistering application EUREKA-SERVICE with eureka with status DOWN
解决:(加入web的依赖)
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
然后Euerka正常启动,并注入到注册中心: