【Idea導入maven web項目異常】IOException parsing XML document from class path resource [xxx.xml]


1、IDEA導入項目運行出現異常

org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ApplicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [ApplicationContext.xml] cannot be opened because it does not exist
2、總的來說,就是 ApplicationContext.xml 這個配置文件沒找到 web.xml 中去看,ApplicationContext.xml 配置的這一行是紅線

3、因為沒有在設置中配置資源文件的目錄,所以找不到 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM