IDEA中Spring配置錯誤:class path resource [.xml] cannot be opened because it does not exist

Idea像eclipse那樣配置spring的時候,報錯 緣由是,IDEA沒有加載你的Spring.xml文件進去編譯後的目錄 解決方法很簡單,只須要把配置文件放到IDEA默認的資源文件夾內便可完成加載。 web
相關文章
相關標籤/搜索