Attempted to lock an already-locked dir异常解决方法

时间:2023-01-22 10:34:21



org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir异常解决方法

myeclipse用svn提交的时候报错:

Attempted to lock an already-locked dir

svn: Working copy 'D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource' locked


org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir

svn: Working copy 'D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource' locked

解决方法(3种 个人感觉第三种方法比较方便):

1、在客户端命令行使用命令 svn cleanup D:/Program Files/MyEclipse/workspace/proj/WebRoot/(被锁定的文件夹)


2、直接进入到上面的文件夹下的.svn目录,删除lock文件就可以了

3、直接在eclipse中 项目右键 team  - 清理(cleanup