eclipse中svn提交出错:Commit failed (details follow)

happyaxu 2010-09-21 05:36:32
我在eclipse中用svn提交总是报错,虽然报错却可以提交到svn服务器上,虽然可以工作,但是看着很不爽,想把这个错误原因给找出来,希望大家给看看,小弟在这跪谢了!


错误信息如下:
org.tigris.subversion.javahl.ClientException: Internal error
svn: Commit failed (details follow):
svn: A MERGE response for '/svn/keyword/workspace/%E6%94%AF%E6%92%91%E6%9C%8D%E5%8A%A1/%E9%80%9A%E7%94%A8%E7%BD%91%E5%9D%80%E8%AF%8D%E6%80%A7%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F/trunk/keywordtype/src/main/webapp/common/footer.jsp' is not a child of the destination ('/svn/keyword/workspace/%e6%94%af%e6%92%91%e6%9c%8d%e5%8a%a1/%e9%80%9a%e7%94%a8%e7%bd%91%e5%9d%80%e8%af%8d%e6%80%a7%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f/trunk/keywordtype/src/main/webapp/common')

org.tigris.subversion.javahl.ClientException: Internal error
svn: Commit failed (details follow):
svn: A MERGE response for '/svn/keyword/workspace/%E6%94%AF%E6%92%91%E6%9C%8D%E5%8A%A1/%E9%80%9A%E7%94%A8%E7%BD%91%E5%9D%80%E8%AF%8D%E6%80%A7%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F/trunk/keywordtype/src/main/webapp/common/footer.jsp' is not a child of the destination ('/svn/keyword/workspace/%e6%94%af%e6%92%91%e6%9c%8d%e5%8a%a1/%e9%80%9a%e7%94%a8%e7%bd%91%e5%9d%80%e8%af%8d%e6%80%a7%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f/trunk/keywordtype/src/main/webapp/common')
...全文
4332 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
chenchong32139 2010-09-21
  • 打赏
  • 举报
回复
报错的原因是eclipse把src文件夹中的.svn文件夹也"编译"到WEB-INF/classes中去了,而复制过来的.svn中存储的是src文件夹中的版本信息,从而导致在更新时出错。 处理方法就是把.svn文件夹从编译路径中排除,这样就不会出现上面的问题了。
chenchong32139 2010-09-21
  • 打赏
  • 举报
回复
打开Eclipse中的Project->Properties->JavaBuildPath菜单,在右侧面板中的"Source"选项卡,在Excluded中加

入"**/.svn/**"。
salever 2010-09-21
  • 打赏
  • 举报
回复
建议先确保修改内容都已经提交,然后删除本地资源,重新下载一份,就没事了

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧