Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 无法从github或google下载-通过EclipseJuno_Java_Android_Eclipse_Github - Fatal编程技术网

Java 无法从github或google下载-通过EclipseJuno

Java 无法从github或google下载-通过EclipseJuno,java,android,eclipse,github,Java,Android,Eclipse,Github,当我在EclipseJuno中单击“SpringTemplateProject”时,出现以下错误 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.CoreExcep

当我在EclipseJuno中单击“SpringTemplateProject”时,出现以下错误

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
以下是日志:

!!条目org.eclipse.equinox.p2.metadata.repository 4 1000 2013-04-25 08:39:20.295 !在上未找到邮件存储库 . !会话2013-04-25 08:42:08.969 -----------------------------------------------eclipse.buildId=M2013024-1200 java.version=1.7.0_21 java.vendor=Oracle公司引导加载程序常量:OS=win32, ARCH=x86_64,WS=win32,NL=en_US框架参数:-product
org.eclipse.epp.package.jee.product Dorg.eclipse.ecf.provider.filetransfer.ExcludeContractors=org.eclipse.ecf.provider.filetransfer.httpclient -Dhttp.proxyPort=80-Dhttp.proxyHost=XXXXXXXXX-Dhttp.proxyUser=XXXXXXXXXXXXX-Dhttp.proxyPassword=XXXXXXXXXX-Dhttp.NOPROXYHOSTS=localhost | 127.0.0.1-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient 命令行参数:-os win32-ws win32-arch x86_64-产品 org.eclipse.epp.package.jee.product -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient -Dhttp.proxyPort=80-Dhttp.proxyHost=XXXXXXXXXX-Dhttp.proxyUser=XXXXXXXXXXXXXX-Dhttp.proxyPassword=XXXXXXXXXX-Dhttp.nonProxyHosts=localhost | 127.0.0.1-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

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

!!条目org.eclipse.wst.common.project.facet.core 4 0 2013-04-25 08:42:19.654 !尚未定义消息项目facet grails.app。 它用于插件com.vmware.vfabric.ide.eclipse.tcserver.core

!!条目org.eclipse.osgi212013-04-2508:42:23.523!消息NLS 未使用的消息:CacheManager\u无法加载NonUrlLocation位于: org.eclipse.equinox.internal.p2.repository.messages

Sooo,我的问题是:我无法从github下载,我还从谷歌(android)获得以下信息:

无法读取位于的存储库 . java.util.NoSuchElementException

我认为这个问题是相关的,但…不确定。我已经调整了eclipse.ini文件以包括代理设置(我正在工作-该设置已在日志中被替换为xxxxxxxxx)。
如有任何建议,将不胜感激

URL方案是HTTPS,代理设置仅为HTTP

您还应尝试设置HTTPS设置:

 -Dhttps.proxyPort=80 -Dhttps.proxyHost=XXXXXXXXXX -Dhttps.proxyUser=XXXXXXXXXXXX -Dhttps.proxyPassword=XXXXXXXXXXXX -Dhttps.nonProxyHosts=localhost|127.0.0.1
此外,您可能应该使用首选项菜单(窗口>首选项>常规>网络连接)来配置此选项