打开Eclipse提示“The default workspace “xxx” is in use or cannot be created Please choose a different one“

       出现这种情况的原因一般是workspace的配置文件中出现了.lock文件(workspace/.metadata/.lock),锁定了workspace。把.lock文件删除即可。如果该文件不能删除,可能是因为javaw.exe进程未结束,结束该进程及eclipse.exe进程即可删除。正常情况下,如果你打开了一个workspace,在想打开另一个workspace也会出现上面的提示

posted @ 2018-03-06 10:36  安旭  阅读(6067)  评论(0编辑  收藏  举报