Attempted to lock an already-locked dir异常解决方法
eclipse用svn提交的时候报错: Attempted to lock an already-locked dir
svn: Working copy 'E:/Program Files/Eclipse/workspace/emis/WebRoot/emis/emresource' locked
org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir
svn: Working copy 'E:/Program Files/Eclipse/workspace/emis/WebRoot/emis/emresource' locked
解决方法(3种):
1、在客户端命令行使用命令 svn cleanup D:/Program Files/MyEclipse/workspace/proj/WebRoot/(被锁定的文件夹)
2、直接进入到上面的文件夹下的.svn目录,删除lock文件就可以了
3、直接在eclipse中 项目右键 team - 清理(cleanup)