2013-04-25 51 views
0

我收到以下错误,当我点击“春模板工程”在Eclipse朱诺无法从GitHub或谷歌下载 - 通过Eclipse的朱诺

Error while downloading or parsing descriptors file 'https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml': 

org.eclipse.core.runtime.CoreException: Error while retrieving https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml 

这里是日志:

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2013-04-25 08:39:20.295!MESSAGE http://geronimo.apache.org/devtools/没有版本说明。 !SESSION 2013-04-25 08:42:08.969 ------------------------------------- ---------- eclipse.buildId = M20130204-1200 java.version = 1.7.0_21 java.vendor = Oracle Corporation BootLoader常量:OS = win32, ARCH = x86_64,WS = win32,NL = en_US框架参数:-product
org.eclipse.epp.package.jee.product -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer.httpclient -Dhttp.proxyPort = 80 - Dhttp.proxyHost = XXXXXXXXX -Dhttp.proxyUser = XXXXXXXXXXXX -Dhttp.proxyPassword = XXXXXXXXXXXX -Dhttp.nonProxyHosts = localhost | 127.0.0.1 -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer。 httpclient 命令行参数:-os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.p ackage.jee.product -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer.httpclient -Dhttp.proxyPort = 80 -Dhttp.proxyHost = XXXXXXXXXX -Dhttp.proxyUser = XXXXXXXXXXXX - Dhttp.proxyPassword = XXXXXXXXXXXX -Dhttp.nonProxyHosts =本地主机|!127.0.0.1 -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer.httpclient

ENTRY org.eclipse.egit .ui 2 0 2013-04-25 08:42:18.304!MESSAGE 警告:EGit无法检测到原生Git的安装路径“gitPrefix” 。因此,EGit无法遵守系统级Git设置,其中 可能在$ {gitPrefix}/etc/gitconfig中在本机Git 安装目录下配置。这些设置中最重要的是 core.autocrlf。默认情况下,Git for Windows在此系统级配置中将此参数设置为true 。在团队> Git>配置首选项页面的 “系统设置”选项卡上配置Git安装位置 。此警告可以在团队> Git>确认和警告首选项页面中关闭。

!ENTRY org.eclipse.wst.common.project.facet.core 4 0 2013-04-25 08:42:19.654!MESSAGE项目构面grails.app尚未定义。它用在plugin com.vmware.vfabric.ide.eclipse.tcserver.core中。

ENTRY org.eclipse.osgi 2 1 2013年4月25日08:42:23.523 MESSAGE NLS 未使用的消息:在CacheManager_CannotLoadNonUrlLocation: org.eclipse.equinox.internal.p2.repository.messages

的sooo,我的问题是:我不能从github上下载,我也得到了以下,从谷歌(Android设备):

无法读取仓库处的 https://dl-ssl.google.com/android/eclipse/content.xml。 java.util.NoSuchElementException

我在想这个问题是相关的,但......不确定。我调整了eclipse.ini文件以包含代理设置(我在工作 - 设置已被替换,在日志中为XXXXXXXXXX)。 任何建议将不胜感激!

回答

0

网址方案是HTTPS,您的代理设置仅限HTTP。

你应该尝试设置HTTPS设置以及:

-Dhttps.proxyPort=80 -Dhttps.proxyHost=XXXXXXXXXX -Dhttps.proxyUser=XXXXXXXXXXXX -Dhttps.proxyPassword=XXXXXXXXXXXX -Dhttps.nonProxyHosts=localhost|127.0.0.1 

此外,你应该使用偏好菜单(窗口>首选项>常规>网络连接)进行配置。