PropertiesLoaderSupport.mergeProperties() has thrown a FileNotFoundException

java.io.FileNotFoundException
Javadoc
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.PropertiesLoaderSupport.loadProperties
(source)
at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties
(source)
4 frames hidden

Typical Exception Messages

  1. Failed to load ApplicationContext
  2. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [database.properties] cannot be opened because it does not exist
  3. class path resource [jdbcBund.properties] cannot be opened because it does not exist
  4. class path resource [${env.name}-settings.properties] cannot be opened because it does not exist
  5. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [${conf.path.dir}/main.properties] cannot be opened because it does not exist
  6. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [configserver.properties] cannot be opened because it does not exist
  7. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist
  8. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [geofence_db.properties] cannot be opened because it does not exist
  9. Error creating bean with name 'userDetailsService': Cannot create inner bean '(inner bean)' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#15': Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [users.properties] cannot be opened because it does not exist
  10. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [pointsconfig.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 (11)

  1. tonyvia Stack Overflow4 months ago
    Could not load properties; nested exception is java.io.FileNotFoundException: class pat h resource [WEB-INF/config/redis.properties] cannot be opened because it does not exist
    Show stack trace
  2. Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [config.properties] cannot be opened because it does not exist
    Show stack trace
  3. Unknown authorvia blogspot.com4 months ago
    Could not load pr operties; nested exception is java.io.FileNotFoundException: class path resource [olat.local.properties] cannot be opened because it does not exist
    Show stack trace
  4. pintuvia Stack Overflow4 months ago
  5. Nestor Urquizavia Google Groups4 months ago
    class path resource [app.properties] cannot be opened because it does not exist
    Show stack trace
  6. Mr Askervia Stack Overflow5 months ago
    Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [pointsconfig.properties] cannot be opened because it does not exist
    Show stack trace
  7. Error creating bean with name 'userDetailsService': Cannot create inner bean '(inner bean)' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#15': Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [users.properties] cannot be opened because it does not exist
    Show stack trace
  8. czajekvia Stack Overflow2 years ago
    Failed to load ApplicationContext
    Show stack trace
  9. satvia Stack Overflow2 years ago
    Failed to load ApplicationContext
    Show stack trace
  10. class path resource [${env.name}-settings.properties] cannot be opened because it does not exist
    Show stack trace