使用STS创建新的Web应用程序项目时找不到Spring MVC项目? [英] Cannot find Spring MVC project when creating new web application project using STS?
问题描述
我是Spring MVC的新手,并试图从 springsource 和 STS 作为IDE,并选择New Project - Spring Template Project - Spring MVC Project
./p>
尽管就我而言,使用3.6.1.R版本的STS,我在那里找不到任何Spring MVC Project选项.
使用STS是否有相同的问题?
p.s.
我在此处找到了先前版本的STS的解决方案,尽管不适用于3.6.1版.
>没有看到MVC模板快照.
根据@AndrewEisenberg用户的建议,在此处,查看错误日志显示以下错误
- 连接到 https ://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml 失败,无法连接到 https://raw.github.com/SpringSource/spring-data-gemfire-sts-templates/master/builds/descriptor.xml 在与 https://raw.github.com 被拒绝.重试尝试0已开始
因此,在调用File - New Project - Spring Project
之后,通过Windows - Show View - Other - Error Log
仔细查看错误日志中的错误,我了解了此症状的原因.
它是由无法达到 https://raw.github.com
的互联网连接引起的>I'm new to Spring MVC and trying to learn from the internet tutorial such as these good ones from journaldev, springsource, and codejava
All of those tell me use STS as the IDE and to go for New Project - Spring Template Project - Spring MVC Project
.
Though in my case, using the version 3.6.1.RELEASE of STS, I can NOT find any Spring MVC Project options there.
Do you have the same issue using STS?
p.s.
I found the solution here for previous version of STS, though it not works for version 3.6.1.
Seeing no MVC template snapshot.
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
这篇关于使用STS创建新的Web应用程序项目时找不到Spring MVC项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!