SpringSource Tool Suite is missing Spring MVC project template
This is not a duplicate of Spring Tool Suite missing Spring MVC project template
Using STS 2.9.2 and create com.springsource.sts.wizard_2.9.2.201205071000-RELEASE file in my plugins folder.
I want to use the Spring MVC project pattern but cannot find it either in the toolbar or in the New-> Other-> SpringSource Tool Suite menu.
I don't want to create a new installation, there are many plugins installed.
source to share
For STS 3.0, the way you access template projects has changed, so it doesn't surprise me that you don't see the template project in your dashboard. However, you should see it in a new dialog box. I'm not sure what might happen. You can look at your error log and find the relevant stack traces (and paste them here).
Or you can install STS 3.1 or newer. The easiest is probably to just go to the git repository where the template project exists, clone it and import it into your workspace as a maven project.
Here's the repo:
https://github.com/SpringSource/spring-mvc-showcase
The only difference between this and using a true template project is that the template project sets up a few things for you, like the base package and the project name. However, all of this can be changed after import.
source to share
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
source to share