java.lang.IllegalStateException: No instances available for api-service

Stack Overflow | bilak | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    loadbalanced ribbon client initialization against discovery service (eureka)

    Stack Overflow | 6 months ago | bilak
    java.lang.IllegalStateException: No instances available for api-service
  2. 0

    Consul service discovery issue with spring boot applications

    Stack Overflow | 8 months ago | kmarabet
    java.lang.IllegalStateException: No instances available for ACCOUNTS-SERVICE
  3. 0

    EurekaClient Bean initialization timing error

    GitHub | 10 months ago | sunnykaka
    java.lang.IllegalStateException: No instances available for ACCOUNT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    @LoadBalanced RestTemplate to call nested context endpoints

    Stack Overflow | 7 months ago | nmadzharov
    java.lang.IllegalStateException: No instances available for say-hello
  6. 0

    GitHub comment 4283#252415769

    GitHub | 6 months ago | anjia0532
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration': Unsatisfied dependency expressed through field 'tokenStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore' defined in class path resource [com/shunneng/gateway/config/MicroserviceSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.provider.token.TokenStore]: Factory method 'tokenStore' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtAccessTokenConverter' defined in class path resource [com/shunneng/gateway/config/MicroserviceSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter]: Factory method 'jwtAccessTokenConverter' threw exception; nested exception is java.lang.IllegalStateException: No instances available for uaa

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No instances available for api-service

      at org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute()
    2. org.springframework.cloud
      RibbonLoadBalancerClient.execute
      1. org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute(RibbonLoadBalancerClient.java:79)
      1 frame