Eclipse - “正在使用或不能创建的工作区”选择了另一个。 [英] Eclipse - "Workspace in use or cannot be created, chose a different one."
问题描述
我试图在 / Users / Shared /
目录中创建一个工作区,以为我可以在用户之间共享该工作区。问题是,在创建工作区并更改其权限之后,我甚至不会再转到其他用户,遇到下面的错误(image)。
更改权限从
/ Users / Shared $ ll
drwxr-xr-x 3 HristoOskov轮102 9月18日20:07 myWorkspace
...至...
/用户/共享$ ll
drwxrwxr-x 3 root admin 102 Sep 18 19:45 myWorkspace
那么我在这里做错什么?我应该如何配置这个工作区,以便我可以摆脱错误消息,并从两个帐户访问它,而不会看到错误消息?
顺便说一下,我正在使用Mac OS X Lion v10.7.1。
正确答案可以在这个(重复)问题。
我在这里重现答案(它的作品!):
只需删除.lock文件即可。 eclipse中的元数据目录
工作区目录
I'm trying to create a workspace in the /Users/Shared/
directory with the thought that I can share that workspace between users. The problem is that after I create the workspace and change the permission on it, I encounter the error below (image) without even switching to a different user.
I changed the permissions from
/Users/Shared $ ll
drwxr-xr-x 3 HristoOskov wheel 102 Sep 18 20:07 myWorkspace
... to...
/Users/Shared $ ll
drwxrwxr-x 3 root admin 102 Sep 18 19:45 myWorkspace
So what am I doing wrong here? How should I configure this workspace so that I can 1. get rid of the error message and 2. access it from both accounts without seeing the error message?
By the way, I'm working on Mac OS X Lion v10.7.1.
Right answer can be found in this (duplicate) question.
I reproduce here the answer (it works!):
Just delete the .lock file in the .metadata directory in your eclipse workspace directory
这篇关于Eclipse - “正在使用或不能创建的工作区”选择了另一个。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!