svn檢出為java project項目時,可能會出現以下報錯:
1、“The project description file (.project) for 'xxx' is missing.”
解決方法:可以嘗試重新檢出項目,或者手動創建一個.project文件,內容如下:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>xxx</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
2、“The project was not built since its build path is incomplete.”
解決方法:可以嘗試重新檢出項目,或者手動添加項目的build path,右鍵項目->Properties->Java Build Path->Libraries->Add Library->JRE System Library->選擇一個JRE版本->Finish。