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

GitHub | jonekdahl | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Brixton Config Client fails on startup if propertySources is empty

    GitHub | 6 months ago | jonekdahl
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  2. 0

    GitHub comment 3925#138639042

    GitHub | 1 year ago | dhoffi
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  3. 0

    spring-boot-devtools RemoteSpringApplication start fails if failFast=true for spring-cloud-config

    GitHub | 1 year ago | dhoffi
    java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate()
    2. org.springframework.cloud
      PropertySourceBootstrapConfiguration.initialize
      1. org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:88)[spring-cloud-config-client-1.1.2.RELEASE.jar:1.1.2.RELEASE]
      2. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE]
      2 frames
    3. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:640)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
      2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:343)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)[spring-boot-1.3.5.RELEASE.jar: 1.3.5.RELEASE]
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
      5 frames
    4. se.pensionsmyndigheten.microservices
      Application.main
      1. se.pensionsmyndigheten.microservices.cacheserver.Application.main(Application.java:34)[classes/:na]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_74]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_74]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74]
      4 frames
    6. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)[idea_rt.jar:na]
      1 frame