eclipse與idea中classpath配置路徑不同導致遷移項目時的FileNotFoundException問題

我這次遇到的問題是:我在遷移spring項目時,在eclipse中配置了一個resources目錄,在eclipse中是在classpath下的,而搬到idea後,變成在classpath外部了,然後因爲這個問題導致我的項目在idea中一直無法運行。 然後我的解決辦法是這麼做的: 1.我要將這個resources目錄移動到classpath目錄下 2.打開Project Structure 3.M
相關文章
相關標籤/搜索