---
title: "bug:svn-- Working copy not locked; this"
author: "wangyanlong0107"
date: "2012-09-10T11:36:42Z"
tags: []
categories: ["开源软件"]
slug: "bug-svn-working-copy-not-locked-this"
draft: false
lastmod: "2012-09-10T11:36:42Z"
id: 1674910
url: "https://bigdragon.iteye.com/blog/1674910"
---

Working copy not locked; this is probably a bug, please report

svn: Unable to lock 'F:\\talentbase\\tb\_wand\\src\\java\\com\\neusoft\\talentbase\\staffing'

 

使用MyEclipse进行Java开发，用SVN进行版本控制。代码修改完后执行Commit，然后Update，提示如下类似的错误：   
org.tigris subversion javahl.ClientException: Working copy not locked;this is probably a bug,please report   
svn:Working copy 'D:/temp/workspace/BOBO365/WebRoot/WEB-INF/classes/com' is missing or not locked

 

解决办法：

 打开Eclipse中的 Project-&gt;Properties-&gt;Java Build Path 菜单，在右侧面板中的"Source"选项卡，在Excluded中加入"\*\*/.svn/\*\*"。  
也就是把.svn文件夹从编译路径中排除，这样就不会出现上面的问题了打开Eclipse中的 Project-&gt;Properties-&gt;Java Build Path 菜单，在右侧面板中的"Source"选项卡，在Excluded中加入"\*\*/.svn/\*\*"。  
也就是把.svn文件夹从编译路径中排除，这样就不会出现上面的问题了