一、创建项目 引用spring-cloud-starter-netflix-eureka-server 二、配置yml参数 三、添加启动项目注解(服务注册与发现) 四、运行http://localhost:8080/