Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 无法部署我的第一个Azure Spring云应用程序_Spring Boot_Azure Spring Cloud_Azure Java Tools_Azure Spring Boot - Fatal编程技术网

Spring boot 无法部署我的第一个Azure Spring云应用程序

Spring boot 无法部署我的第一个Azure Spring云应用程序,spring-boot,azure-spring-cloud,azure-java-tools,azure-spring-boot,Spring Boot,Azure Spring Cloud,Azure Java Tools,Azure Spring Boot,我正在尝试在Azure Spring Cloud中快速启动Spring Boot 我下载了带有相关JAR的spring starter,但当它启动时,我会遇到一系列错误 Getting all instance registry info from the eureka server 2020-10-08 23:20:47.012 ERROR [,,,] 32573 --- [ main] c.n.d.s.t.d.RedirectingEurekaHttpClient :

我正在尝试在Azure Spring Cloud中快速启动Spring Boot

我下载了带有相关JAR的spring starter,但当它启动时,我会遇到一系列错误

Getting all instance registry info from the eureka server
2020-10-08 23:20:47.012 ERROR [,,,] 32573 --- [           main] c.n.d.s.t.d.RedirectingEurekaHttpClient  : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/}

com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused
    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) ~[jersey-apache-client4-1.19.1.jar:1.19.1]
    at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123) ~[jersey-client-1.19.1.jar:1.19.1]
    at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27) ~[eureka-client-1.9.25.jar:1.9.25]

我如何阻止这种情况发生,有没有人使用过Microsoft Spring Boot Quickstart?是否尝试在本地运行该应用程序?如果是这种情况,则会出现此错误,因为无法从您的开发人员计算机访问Azure Spring Cloud托管的eureka服务器。请将应用部署到Azure Spring云