java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing

Stack Overflow | 王子1986 | 3 months ago
  1. 0

    I/O error on GET request for "http://localhost:8761/config/uaa/dev/master"

    Stack Overflow | 3 months ago | 王子1986
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  2. 0

    Default generated application fails to startup due failure to connect to Registry

    GitHub | 5 months ago | viniciusboson
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 3114#230733266

    GitHub | 5 months ago | Opalo
    java.lang.IllegalStateException: java.net.ConnectException: Connection refused
  5. 0

    Exception on reloading remote spring boot application with Intellij IDEA

    Stack Overflow | 5 months ago | Opal
    java.lang.IllegalStateException: java.net.ConnectException: Connection refused

  1. tvrmsmith 1 times, last 4 weeks ago
  2. musketyr 2 times, last 2 months ago
  3. Malcshour 1 times, last 6 months ago
25 unregistered visitors
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.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. java.net.Socket.connect(Socket.java:538)
    8. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:308)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:326)
    14. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
    17. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)
    17 frames
  3. Spring
    InterceptingClientHttpRequest$InterceptingRequestExecution.execute
    1. org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:78)
    2. org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    3. org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
    4. org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)
    4 frames
  4. org.springframework.cloud
    ConfigServicePropertySourceLocator$BasicAuthorizationInterceptor.intercept
    1. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator$BasicAuthorizationInterceptor.intercept(ConfigServicePropertySourceLocator.java:179)
    1 frame
  5. Spring
    RestTemplate.exchange
    1. org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:85)
    2. org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:69)
    3. org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    4. org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
    5. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:619)
    6. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580)
    7. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:498)
    7 frames
  6. org.springframework.cloud
    PropertySourceBootstrapConfiguration.initialize
    1. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.getRemoteEnvironment(ConfigServicePropertySourceLocator.java:130)
    2. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:81)
    3. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)
    3 frames
  7. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:633)
    2. org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:347)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
    3 frames
  8. me.prince
    UaaApp.main
    1. me.prince.UaaApp.main(UaaApp.java:66)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  10. Spring Boot Maven Plugin
    AbstractRunMojo$LaunchRunner.run
    1. org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:483)
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame