无法在 Windows 7 上将 subclipse 连接到 VisualSVN
svn:连接被服务器拒绝 svn:“/svn/myrepo/MyProject/trunk”上的 OPTIONS 请求失败 svn:连接被服务器拒绝
Java 32 位 1.6.20 Windows 7 64 位 Eclipse 3.5.2 32 位 VisualSVN 2.1.3
在 Eclipse 3.5.2 中安装了 subclipse。创建了存储库 myrepo 和项目结构 MyProject。 尝试打开存储库位置 https://desktop-PC/svn/myrepo/MyProject/trunk 来自 subclipse 并弹出错误 验证位置 org.tigris.subversion.javahl.ClientException 时出错: svn:连接被服务器拒绝 svn: OPTIONS request failed on '/svn/myrepo/MyProject/trunk' ""
从命令提示符处执行以下操作:(我在这篇文章的服务器 url 中插入了一个空格,因为 stackoverflow 只允许在一篇文章上有一个超链接) 。
ping https://desktop-PC Ping 请求找不到主机 https://desktop-PC。请检查姓名和 再试一次。
svn: connection refused by the server
svn: OPTIONS request failed on '/svn/myrepo/MyProject/trunk'
svn: connection refused by the server
Java 32 bit 1.6.20
Windows 7 64 bit
Eclipse 3.5.2 32 bit
VisualSVN 2.1.3
Installed subclipse in Eclipse 3.5.2. Created repository myrepo and Project Structure MyProject.
Tried to open repository location https://desktop-PC/svn/myrepo/MyProject/trunk from subclipse and got error popup
Error validating location org.tigris.subversion.javahl.ClientException:
svn: connection refused by the server
svn: OPTIONS request failed on '/svn/myrepo/MyProject/trunk' ""
from a command prompt, I do the following: (I inserted a space in the server url on this post because stackoverflow only permits one hyperlink on a post).
ping https: //desktop-PC
Ping request could not find host https: //desktop-PC. Please check the name and
try again.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过使用原始 IP 地址而不是名称?这看起来更像是 DNS 解析问题,而不是 Java 问题。
Have you tried using raw IP addresses instead of names? This look more like a DNS resolving issue, not Java issue.
如果存储库位于同一台计算机上,您不应该使用 localhost 作为服务器名称吗?
而且你似乎正在使用https。这意味着您的计算机上应该运行一个 http 服务器,并且您的 DNS 设置为将您的环回地址解析为域名 Desktop-PC。您确定您的计算机上正在运行服务器,并且 DNS 配置正确吗?
If the repository is on the same machine, shouldn't you be using localhost as the server name?
Also you seem to be using https. That implies that there should be a http server running on your machine, and that your DNS is set to resolve your loopback address to the domain name desktop-PC. Are you sure you have a server running on your machine, and that the DNS is properly configured?