idea報錯。Error:Failed to load project configuration: cannot parse xml file E:\project\.idea\workspace.xml: Error on line 1: 前言中不允許有內容。


因為電腦卡死強制重啟電腦后打開idea,進行junit單元測試報錯:

idea報錯。Error:Failed to load project configuration: cannot parse xml file E:\project\.idea\workspace.xml: Error on line 1: 前言中不允許有內容。

解決方案:

將文件夾中workspace.xml的內容粘貼到idea中的workspace.xml即可


免責聲明!

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



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