The error report is shown in the figure above,
POM file plus
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
Just restart this,
Just add this annotation to the startup class
@EnableEurekaClient