无法在 Eclipse 中添加 SVN 存储库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25159475/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can't add SVN repository in Eclipse
提问by vald
I'm trying to add an SVN repository to Eclipse.
我正在尝试向 Eclipse 添加一个 SVN 存储库。
I've installed Subclipse, and it seems to be working fine. But, when I try to "add a new SVN repository", I input this:
我已经安装了 Subclipse,它似乎运行良好。但是,当我尝试“添加新的 SVN 存储库”时,我输入了以下内容:
http://svn.alfresco.com/repos/alfresco-open-mirror
http://svn.alfresco.com/repos/alfresco-open-mirror
and I get this:
我明白了:
Error validating location: "org.apache.subversion.javahl.ClientException: RA layer request failed svn: unable to connect to a repository at url 'svn..'
svn: OPTIONS of 'http://svn.alfresco.com/repos/alfresco-open-mirror': could not connect to server 'alfresco.com' Keep location anyway?
I've checked it in both browsers(on computer and internal eclipse br) - both works
我已经在两个浏览器(在计算机和内部 eclipse br)中检查过它 - 都有效
What is the decision?
决定是什么?
回答by bahrep
Did you configure Subclipse to work with your proxy server?I'm asking because you specify this error in the second comment: svn: E170001: HTTP proxy authorization failed
.
您是否将 Subclipse 配置为与您的代理服务器一起使用?我问,因为你的第二个评论指定此错误:svn: E170001: HTTP proxy authorization failed
。
To make sure that proxy settings are correct, check the servers
file on the CLIENT
machine. The file is located in .subversion
directory in the user's home directory on Linux systems and in %APPDATA%\Subversion
on Windows systems. Configurable options you are interested in are:
要确保代理设置正确,请检查servers
客户端计算机上的文件。该文件位于.subversion
Linux 系统和%APPDATA%\Subversion
Windows 系统上的用户主目录中的目录中。您感兴趣的可配置选项是:
http-proxy-exceptions
http-proxy-host
http-proxy-port
http-proxy-username
If you don't have any proxy server but these options are still configured, then remove them. Otherwise, make sure that these settings are valid. See SVNBook | Runtime Configuration Area.
如果您没有任何代理服务器但仍配置了这些选项,请删除它们。否则,请确保这些设置有效。见SVNBook | 运行时配置区。