java.lang.ExceptionInInitializerError: This exception has no message.

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

Samebug tips

,
via Stack Overflow by Human Being

Use this method to gain access to the ApplicationContext:

@Autowired
private ApplicationContext applicationContext;

Solutions on the web

via Oracle Community by user651347, 1 year ago
This exception has no message.
via Oracle Community by user13605561, 1 year ago
via Oracle Community by 991491, 1 year ago
via Oracle Community by user11957197, 1 year ago
via Oracle Community by 1887898, 1 year ago
java.io.FileNotFoundException: class path resource [META-INF/iam-spring-config.xml] cannot be opened because it does not exist
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:307)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:394)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:122)
at oracle.iam.platform.utils.SpringBeanFactory.createBeanFactory(SpringBeanFactory.java:56)
at oracle.iam.platform.utils.SpringBeanFactory.(SpringBeanFactory.java:52)
at oracle.iam.platform.Platform.(Platform.java:101)
at project1.JdbcCheckup.main(Class1.java:79)

Users with the same issue

Once, 2 days ago
4 times, 1 week ago
83 times, 1 month ago
3 times, 1 month ago
Once, 1 month ago

Write tip

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