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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jonekdahl
, 1 year ago
Could not locate PropertySource and the fail fast property is set, failing
via Stack Overflow by user4567570
, 4 months ago
via Stack Overflow by ikbel jaouadi
, 6 months ago
Could not locate PropertySource and the fail fast property is set, failing
via Stack Overflow by John Salazar
, 5 months ago
Could not locate PropertySource and the fail fast property is set, failing
via GitHub by dhoffi
, 2 years ago
Could not locate PropertySource and the fail fast property is set, failing
via GitHub by dhoffi
, 2 years ago
Could not locate PropertySource and the fail fast property is set, failing
java.lang.NullPointerException: null
at org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:88)
at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)
at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:640)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:343)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
at se.pensionsmyndigheten.microservices.cacheserver.Application.main(Application.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.