我使用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
我正在尝试实现从currrencyexchange模块到currencyconversion的开放调用,但是我被这个错误困住了。有人能帮帮我吗。我已经检查了其他答案,并试图添加#spring.datasource.driver-class-name=com.mysql.jdbc.Driver,但没有起作用。
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-09-22 21:07:32.787
当我尝试启动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
我正在使用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
我正在使用带有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
我正在运行带有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
我正在使用尤里卡服务器微服务和尤里卡客户端微服务。我先初始化了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-