首页 > 代码库 > Workspace in use or cannot be created, choose a different one.–解决办法

Workspace in use or cannot be created, choose a different one.–解决办法

打开Eclipse时:Workspace in use or cannot be created, choose a different one.–错误解决办法
原因:出现这种情况一般是workspace的配置文件中出现了.lock文件(workspace/.metadata/.lock),锁定了workspace。把.lock文件删除即可。
如果该文件不能删除,可能是因为javaw.exe进程未结束,结束该进程及eclipse.exe进程即可删除。

Workspace in use or cannot be created, choose a different one.–解决办法