java.lang.ExceptionInInitializerError

This exception has no message.

Solutions on the web8219

  • This exception has no message.
  • via Terracotta by hashcode, 1 year ago
    This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.ExceptionInInitializerError at foundation.dataprovider.test.SpringTest.main(SpringTest.java:25) Caused by: foundation.spring.SpringManager$SpringManagerException: Unable to load Spring bean definition files: [org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [config/config.global.properties] cannot be opened because it does not exist] at com.es.foundation.spring.SpringManager.<init>(SpringManager.java:26) at com.es.foundation.spring.SpringManager.<clinit>(SpringManager.java:16) ... 1 more Caused by: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [config/config.global.properties] cannot be opened because it does not exist at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:416) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:330) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68) at com.es.foundation.spring.SpringManager.<init>(SpringManager.java:23) ... 2 more Caused by: 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(ClassPathResource.java:137) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:179) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:158) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 3 months ago
    Once, 1 year ago
    81 more bugmates