java.lang.ExceptionInInitializerError

spring.io | 4 months ago
  1. 0

    multiple properties in spring. property in PropertyPlaceholderConfigurer class

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanInitializationException: 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
  2. 0

    java - multiple properties in spring. property in PropertyPlaceholderConfigurer class - Stack Overflow

    xluat.com | 1 year ago
    org.springframework.beans.factory.BeanInitializationException: 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    class path resource [pointsconfig.properties] cannot be opened because it does not exist

    Stack Overflow | 6 months ago | Mr Asker
    org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [pointsconfig.properties] cannot be opened because it does not exist
  5. 0

    Property not evaluated in spring xml

    Stack Overflow | 3 years ago | czajek
    java.lang.IllegalStateException: Failed to load ApplicationContext
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.io.FileNotFoundException

    class path resource [config/config.global.properties] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream()
  2. Spring Core
    PropertiesLoaderSupport.mergeProperties
    1. org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137)
    2. org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:179)
    3. org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:158)
    3 frames
  3. Spring Beans
    PropertyResourceConfigurer.postProcessBeanFactory
    1. org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69)
    1 frame
  4. Spring Context
    ClassPathXmlApplicationContext.<init>
    1. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:416)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:330)
    3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
    4. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
    5. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
    5 frames
  5. com.es.foundation
    SpringManager.<clinit>
    1. com.es.foundation.spring.SpringManager.<init>(SpringManager.java:23)
    2. com.es.foundation.spring.SpringManager.<clinit>(SpringManager.java:16)
    2 frames
  6. foundation.dataprovider.test
    SpringTest.main
    1. foundation.dataprovider.test.SpringTest.main(SpringTest.java:25)
    1 frame