Nam G VU
Nam G VU

Reputation: 35374

Cannot find Spring MVC project when creating new web application project using STS?

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.

enter image description here

Upvotes: 4

Views: 16842

Answers (6)

Bhaumik Thakkar
Bhaumik Thakkar

Reputation: 580

Firstly File -> New Project -> Spring -> Spring Legacy project & finally select what you want. also refer attached images.

enter image description here

enter image description here

Upvotes: 3

Mostafa Lazaret
Mostafa Lazaret

Reputation: 19

File->New-->Spring Legacy Project----> scroll down to Spring Mvc Project

Upvotes: 0

Kanhaiya Kumar
Kanhaiya Kumar

Reputation: 129

Step:1-Go to File->New

Step:2-Click on Spring Legacy Project

Step:3-see a Templates Box, scroll it down you will find Spring Mvc Project

Upvotes: 4

supranov
supranov

Reputation: 131

I've just solved the problem. These are my way:
- Go to New Project -> Spring Project. For first use, only show "Simple Project" folder.
- Select Configure templates.. (blue link).
- In Template Projects window, delete "spring-data-gemfire" and "spring-integration", and check "Show self-hosted templates ..." (at bottom), and then press Apply -> OK
- Just wait while refreshing process, and "Spring MVC Project" should be showed.

Upvotes: 13

Naresh Vavilala
Naresh Vavilala

Reputation: 608

Try this
New Project -> Spring Project -> Spring MVC Project

Upvotes: 1

Nam G VU
Nam G VU

Reputation: 35374

As user @AndrewEisenberg suggested here, viewing the Error Log gives me the errors as below

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

Upvotes: 2

Related Questions