Spring Cloud Eureka 问题
环境 spring boot 2.0.2 Realease
客户端注册服务向注册中心注册时,客户端一直启动不成功,报如下信息:
后来在pom中加入如下配置:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
问题解决,具体原因不是很清楚,好像需要有接口映射才能正常启动。