1. 程式人生 > >Eclipse報The default workspace'xxxxx' is in use or cannot be created Pl

Eclipse報The default workspace'xxxxx' is in use or cannot be created Pl

原因:出現這種情況一般是workspace的配置檔案中出現了.lock檔案(workspace/.metadata/.lock),鎖定了workspace。把.lock檔案刪除即可。
如果該檔案不能刪除,可能是因為javaw.exe程序未結束,結束該程序及eclipse.exe程序即可刪除。

正常情況下,如果你打開了一個workspace,在想開啟另一個workspace也會出現上面的提示

輸出然後重新啟動即可。