nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.gateway.discovery.DiscoveryClientRouteDefinitionLocatornested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.
我使用的是springcloud consul 1.5.3和spring boot 2.1.6。springcloud consul用来连接到consul代理的默认主机和端口是localhost:8500。到目前为止,它是有效的。Unable to find instance for mall-service-test
我使用的是zuul网关,而不是SpringCloudGateway,返回相同的错误。以下是spring
Spring版本:2.4.2Java版本: 11Error has been observed at the following site(s):
|_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter