Spring项目模板没有显示模板 [英] Spring project template not showing templates
问题描述
正如你所看到的,需要下载!我按了Refresh几次并重新启动STS,但是我仍然无法得到它列出模板。
当我按下配置模板时:
我正在运行Windows 7的家用笔记本电脑。我可以访问Eclipse市场,而不是代理。我试过另一台笔记本电脑也运行Windows 7,但是徒劳无功。
有什么问题?
由于用户@AndrewEisenberg建议这里,查看错误日志会给出以下错误
- 连接到 https://raw.github.com/SpringSource/spring-integration-连接到 https:// raw时,templates / master / si-sts-templates / builds / descriptor.xml 失败.github.com 拒绝。重试尝试0开始
- 连接到 https://raw.github.com/SpringSource/spring-data-gemfire-sts-templates/master/builds/descriptor.xml 连接到 https://raw.github.com 拒绝。重试尝试0开始
所以仔细看看错误日志中的错误,由 Windows - 显示视图 - 其他 - 错误日志
,调用 File - New Project - Spring Project
后,我看到这种症状的原因。
由互联网连接导致无法达到 https://raw.github.com
I downloaded Spring STS 3.6.1 and I tried to create a spring MVC project, but the templates are missing:
As you can see it says requires downloading! I pressed Refresh several times and restarted STS, but I still can't get it to list the templates.
When I pressed configure templates:
I'm working on my home laptop running Windows 7. I'm able to access Eclipse market place and I'm not behind a proxy. I tried another laptop also running Windows 7, but in vain.
What is wrong?
As user @AndrewEisenberg suggested here, viewing the Error Log gives me the errors as below
- Connection to https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml failed on Connection to https://raw.github.com refused. Retry attempt 0 started
- Connection to https://raw.github.com/SpringSource/spring-data-gemfire-sts-templates/master/builds/descriptor.xml failed on Connection to https://raw.github.com refused. Retry attempt 0 started
So having a close look at the error in Error Log, by Windows - Show View - Other - Error Log
, after calling File - New Project - Spring Project
, I see the cause for this symptom.
It causes by the internet connection which cannot reach https://raw.github.com
这篇关于Spring项目模板没有显示模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!