我使用eureka客户端和eureka服务器,但当我启动我的eureka时,我收到错误消息"com.netflix.discovery.shared.transport.TransportException:无法在任何已知的服务器上执行请求。我没有并使用了eureka的安全层。我认为我的问题是"spring.cloud.version“。我已经读过这篇文章 my config of pom.xml。
EurekaApplication
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplicatio
启动Eureka客户端应用程序并获得错误:SpringBoot2.7.5与这个Spring发布系列不兼容。
春-启动-启动-父母2.7.5
EurekaClientApplication封装com.example.demo;
导入org.springframework.boot.autoconfigure.SpringBootApplication;导入org.springframework.cloud.netflix.eureka.EnableEurekaClient;
@SpringBootApplication
@EnableEurekaClient
public class Eurek
我正在使用带有Spring Boot的Eureka服务器。错误:
org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'logging.level.com.netflix.eureka' to org.springframework.boot.logging.LogLevel
pom.xml
application.properties
spring.application.name=eureka-server
server.port=87
在我的SpringBoot应用程序中启动ApplicationContext时出现以下错误:
org.springframework.context.ApplicationContextException: Failed to start bean 'eurekaAutoServiceRegistration'; nested exception is java.lang.NullPointerException
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLif
我正在使用SpringBoot2.4.1和Eureka开发一个应用程序。我实现了启动Eureka服务器,但是对于Eureka客户端,我得到了以下错误:
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.client.apache4.ApacheHttpClient4
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606) ~[na:na]
at java.base/jdk.intern
我正在使用尤里卡服务器微服务和尤里卡客户端微服务。我先初始化了Eureka服务器,然后初始化了eureka客户端。我得到了以下错误!
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:112) ~[eureka-
当我尝试启动org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration -admin时,它抛出:springboot:java.lang.NoClassDefFoundError Is my version conflict? SpringBoot版本:2.1.9版本 SpringCloud version:Greenwich.SR3 SpringBootAdmin版本:2.1.5 我的主类代码: @Configuration
@EnableAutoConfiguration
@EnableAdminServer
@E
我正在运行带有eureka发现的引导管理服务器。
管理服务器:
plugins {
id 'org.springframework.boot' version '2.1.7.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompati
我收到这个错误- "com.netflix.discovery.shared.transport.TransportException:无法在任何已知的服务器上执行请求“,同时在spring-boot中运行客户端应用程序,同时尝试在Microservice中使用Spring Boot进行身份验证模块。
下面是我的服务器和客户端application.properties文件:
服务器- application.properties
spring.application.name=demoEureka
#This is a eureka server so no need to regi
我已经使用复制创建了createde服务器,现在尝试启动客户机。当我试图启动spring-microservices-eureka-client时,我会得到以下错误。使用Spring版本的2.1.1.RELEASE。同样的错误出现在引导版本2.0.7.RELEASE和Finchley.SR2上。
2018-12-28 13:52:16.741 INFO 20236 --- [ main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application UNKNOWN with eureka with s