Can't find Spring MVC project when creating a new web application project using STS?

I'm new to Spring MVC and trying to learn from an internet tutorial like these good ones from journaldev , springsource and codejava

Everyone says that I am using STS as an IDE and to migrate to New Project - Spring Template Project - Spring MVC Project

.

Although in my case, using version 3.6.1.RELEASE from STS, I cannot find any Spring MVC project options there.

Do you have the same problem using STS?

ps

I found a solution here for the previous version of STS, although it doesn't work for version 3.6.1.

Lack of snapshot of MVC pattern.

enter image description here

+3
spring spring-mvc sts-springsourcetoolsuite spring-tool-suite spring-3


source to share


6 answers


As user @AndrewEisenberg suggested here , looking at the error log gives me below errors

  • Connecting to https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/descriptor.xml failed to connect to https://raw.github.com refused. Retry error 0
  • Connecting to https://raw.github.com/SpringSource/spring-data-gemfire-sts-templates/master/builds/descriptor.xml failed to connect to https://raw.github.com refused. Retry error 0


Therefore, after carefully examining the error in the error log Windows - Show View - Other - Error Log

, after the call File - New Project - Spring Project

, I see the cause of this symptom.

It has to do with internet connection that https://raw.github.com cannot reach

+2


source to share


I just solved the problem. This is my way:
- Go to the "New Project -> Spring" project. For first use, only the "Simple Project" folder is shown.
- Select "Customize Templates" (blue link).
- In the Template Projects window, delete "spring-data-gemfire" and "spring-integration" and check the box "Show self-hosted templates ..." (at the bottom), and then click Apply → OK <w> - Just wait for the update process and the "Spring MVC Project" should be shown.



+11


source to share


Step: 1-Go to File-> New

Step: 2-Click on the Spring Legacy Project

Step: 3 - See Templates section, scroll down, you will find Spring Mvc Project

+4


source to share


First file -> New Project -> Spring -> Spring Legacy Project and finally select what you want. also link to attached images.

enter image description here

enter image description here

+3


source to share


try it New Project -> Spring Project -> Spring MVC Project

+2


source to share


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

+2


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics