原文:IDEA啟動項目報錯:Caused by: java.io.FileNotFoundException: class path resource [.properties] cannot be opened because it does not exist

IDEA啟動項目報錯 Caused by: java.io.FileNotFoundException: class path resource .properties cannot be opened because it does not exist 解決方法: .檢查文件的路徑是否正確,命名是否一致,是否存在該文件。 .檢查Target的classes文件夾下是否有這個文件,把缺失的prop ...

2022-01-24 21:29 0 3365 推薦指數:

查看詳情

解決 java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist

前幾天好好運行的web項目突然跑不起來了 報這個錯誤 很顯然,是找不到配置文件。 1、先考慮recourse目錄下的配置文件路徑是否正確。   點擊文件名可以跳轉,排除這個原因。 2、檢查生成的target/classes 文件下是否有配置文件。   這是輸出目錄的主體 ...

Tue Sep 17 04:30:00 CST 2019 0 2387
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM