myeclipse svn插件subclipse使用http代理同步svn时出现异常

开发环境:
myeclispe 10.6.2 + subclipse 1.8 + http代理上网
现象描述:
对项目进行“与资源库进行同步”时弹出对话框显示以下错误信息:
同步 SVNStatusSubscriber 时报告了错误。1 中的 0 个资源已经同步。
同步 /MMonitorLogistics 时发生错误:Error getting status for resource P/MMonitorLogistics org.apache.subversion.javahl.ClientException: svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMoni.blogtorLogistics/trunk'
Error getting status for resource P/MMonitorLogistics org.apache.subversion.javahl.ClientException: svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk'
org.apache.subversion.javahl.ClientException: svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk'
org.apache.subversion.javahl.ClientException: svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk'
截图:
myeclipse svn插件subclipse使用http代理同步svn时出现异常_第1张图片
svn console输出信息:
svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk'
    svn: E175002: unknown host
svn: E175002: OPTIONS request failed on '/svn/DevelopmentProject/Project/MMonitorLogistics/trunk'
    cmproxy
截图:
myeclipse svn插件subclipse使用http代理同步svn时出现异常_第2张图片
解决方法:
  1. 打开C:\Users\Administrator\AppData\Roaming\Subversion,  Administrator为当前登录用户名称;
  2. 编辑文件servers,在142行[global]下一行加入配置。
  3.             
    http-proxy-exceptions = 10.*, *.gmcc.net
  4. http-proxy-host = cmproxy.gmcc.net
  5. http-proxy-port = 8081
  6. http-auth-types = basic
  7. 重新同步操作即可。

截图:



你可能感兴趣的:(myeclipse svn插件subclipse使用http代理同步svn时出现异常)