Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [xxx]; nested exception is java.io.FileNotFoundExce
如题,我在一个普通的java项目中新建了一个bean.xml,想通过spring的ioc去获取对象,谁知道出现这种错误,尝试过几种解决办法:classpath*:bean.xmlApplicationContextapplicationContext