
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.