Could not find artifact org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:pom
version不对,添加version
例如:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
<version>2.2.1.RELEASE</version>
</dependency>