Eureka cannot be started

SpringBoot is 2.0.1.RELEASE SpringCloud is Finchley.RC1

Eureka Discovery and Eureka Server are introduced into the client and server respectively

my server application.yml is configured as follows

eureka:
     client:
          service-url:
                defaultZone:  http://localhost:8761/eureka/
          register-with-eureka: false
     instance:
          preferIpAddress: true
          hostname: localhost
     server:
       enable-self-preservation: false
spring:
     application:
          name: server
server:
     port: 8761

my client application.yml configuration is as follows

eureka:
     client:
          service-url:
                defaultZone:  http://localhost:8761/eureka/
spring:
     application:
          name: client

but the startup client cannot start and ends as soon as it starts. The following is the client startup information, does not report an error, and cannot find the reason

clipboard.png

Mar.10,2021

introduce web module

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

automatically ends because there is no bean, but it is successful. You can join spring-boot-starter-web, but why the calculator name is not clear

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eae1a5-21b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eae1a5-21b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?