Spring Cloud Eureka 启动后,无显示界面.

//检测配置文件 application.properties

server.port=5111 eureka.instance.hostname=127.0.0.1 eureka.client.register-with-eureka=false eureka.client.fetch-registry=false eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:${server.port}/eureka/

//添加此注解才算完成启动. @EnableEurekaServer

评论

暂无评论