hi i am getting exception while running simple spring ioc program
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [beans.xml]; nested exception is java.io.FileNotFoundException: class path resource [beans.xml] cannot be opened because it does not exist
how to resolve the above exception
The server is trying to load this file from the classpath and cannot find it. In Maven, the standard directory for resources is src/main/resources, so I suggest you put this file there.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.