org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist

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 Apache's JIRA Issue Tracker by Gary Tully, 1 year ago
IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
via activemq-dev by Gary Tully (JIRA), 1 year ago
IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
via apache.org by Unknown author, 2 years ago
IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
via Apache's JIRA Issue Tracker by Gary Tully, 1 year ago
IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
via apache.org by Unknown author, 2 years ago
IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
via Stack Overflow by abhishek shivdekar
, 3 months ago
IOException parsing XML document from class path resource [E:/JAVA/Springs Netbean Projects/Employee/src/contructor/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [E:/JAVA/Springs Netbean Projects/Employee/src/contructor/applicationContext.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.(ResourceXmlApplicationContext.java:64)
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.(ResourceXmlApplicationContext.java:52)
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
at org.apache.activemq.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:78)

Users with the same issue

4 times, 1 week ago
83 times, 4 weeks ago
3 times, 1 month ago
75 times, 1 month ago
Once, 1 month ago

Write tip

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