PropertiesLoaderUtils.loadProperties() has thrown a FileNotFoundException

java.io.FileNotFoundException
at org.springframework.core.io.ClassPathResource.getInputStream
(source)
at org.springframework.core.io.support.EncodedResource.getInputStream
(source)
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties
(source)
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties
(source)
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties
(source)
4 frames hidden

Typical Exception Messages

  1. class path resource [application.properties] cannot be opened because it does not exist
  2. class path resource [classpath*:META-INF/spring/*.properties] cannot be opened because it does not exist
  3. class path resource [applogs.properties] cannot be opened because it does not exist
  4. class path resource [salestracker-domain-service-cache.properties] cannot be opened because it does not exist
  5. class path resource [application.yaml] cannot be opened because it does not exist
  6. class path resource [resources/test.properties] cannot be opened because it does not exist
  7. class path resource [poppy-api-env.properties] cannot be opened because it does not exist
  8. class path resource [src/main/webapp/application.properties] cannot be opened because it does not exist
  9. class path resource [hu/quince/service/mail/javamailtest.properties] cannot be opened because it does not exist
  10. class path resource [registry-test.properties] cannot be opened because it does not exist

Origin

PropertiesLoaderUtils.fillProperties() has thrown a FileNotFoundException

java.io.FileNotFoundException
2 frames hidden
org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties
15Web pages

Similar

Specific cases

External results for this pattern (4)

  1. class path resource [com/mycompany/myproject/test.properties] cannot be opened because it does not exist
    Show stack trace
  2. Yakivvia Stack Overflow3 months ago
    class path resource [dataload.properties] cannot be opened because it does not exist
    Show stack trace
  3. sreenivasvia Stack Overflow5 months ago
    class path resource [Application.properties] cannot be opened because it does n ot exist
    Show stack trace
  4. class path resource [poppy-api-env.properties] cannot be opened because it does not exist
    Show stack trace