spring.xml文件存在,還是報(bào)錯(cuò)提示找不到文件
老師,請(qǐng)問我的spring.xml文件存在,為什么還提示找不到文件呢
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring.xml] cannot be opened because it does not exist
2020-06-04
同問,朋友解決了這個(gè)問題嗎
2019-11-20
那是因?yàn)槟阆到y(tǒng)沒找到你的配置文件,需要寫spring.xml對(duì)應(yīng)的地址就可以了
2019-10-08
放對(duì)應(yīng)的resources文件目錄下就可以直接找到呀