Am trying to load bean.xml file but am getting following error
IOException parsing XML document from class path resource [bean.xml]; nested exception is java.io.FileNotFoundException: class path resource [bean.xml] cannot be opened because it does not exist
This is line of code am using to load bean file is
ApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
bean.xml file present in src/main/resources folder
provide any solution ASAP..