Why no Spring Project in File > New? - eclipse

I installed Spring Tool Suite(STS) for Eclipse to eclipse 3.7 and the installation was successful.
Unfortunately,
there is no Spring Project option in the Menu File->New;
only a Spring Roo Project option in the Menu File->New->Other.
How can I create a Spring Template Project?
Do I have to install Spring IDE again?

file > new > "Spring Project" is not there with 3.7.2; in order to see Spring Templates I did the following selections:
File > New > Spring Legacy Project
or
File > New > Project > Spring Legacy Project
Both gives you all the Spring Templates:
Simple Projects
- Simple Java
- Simple Java Maven
- Simple Java Web Maven
- ....
- ....
- Spring MVC Project

Not require.
There are two options you can use sts tool.
1. You can use STS tool plugin in eclipse
2. You can directly download STS tool from https://spring.io/tools/sts/all
In both the options it will give you the option to select the new Spring project what ever based on your requirment.

Related

Eclipse plugin for spring Boot

I am going to create a small web application using spring boot and maven in Eclipse. I am new to spring boot ,
Is there any Eclipse plugin available for creating spring boot application like STS?
You can install STS for eclipse from Help > Eclipse Market Place.... on Eclipse.

Eclipse STS can't select latest spring version

When choosing File > new Spring Project > Simple Spring Maven I cannot select the latest Spring version under 'select spring version:'.
Options are 3.0.7, 3.1.4, 3.2.3 or default.
Why am I not able to choose 4.2.2.RELEASE version ? Should I do it manually in the pom.xml everytime I start a new project ?
Thanks!
There are two wizards you can use 'New Spring Project' and 'New Spring Starter Project'. Maybe the names are a little confusing. So let me explain.
The 'New Spring Project' is the 'old', 'legacy' wizard.
The 'New Spring Starter' one is the more modern wizard.
The old wizard really should have been removed when we created the new one. But as some folks using STS are really conservative and want to keep using it the wizard is still there. As its an old wizard, it uses old-style template projects which use old spring framework versions.
If you want something more modern, try the other wizard it creates an empty project using Spring Boot and up-to-date versions of spring framework.

Install spring plugin in Eclipse Luna

I downloaded Eclipse Luna and i want to install the plugin for spring
What is the difference between: Spring IDE plugin and Spring tool suite plugin?
Which one should I download?
Eclipse+Spring Tool suite plugin = Spring Tool Suite release?
Download the Spring tools suite from the following URL and add the extracted libraries to the WEB-INF/lib folder of your dynamic web project.
http://spring.io/tools
or else
Go to Eclipse->Help->Install New Software
Add new site as follows:
Name: SpringSource Update Site for Eclipse 4.4
URL: http://dist.springsource.com/release/TOOLS/update/e4.4/
In the Spring Tool Suite you have more tools build into your IDE and the tools are configured.
As far as STS is concerned:
... comes with Maven, Spring Roo and tc Server developer edition pre-packaged and pre-configured (you can start using tc Server or
Spring Roo right away without the need to download or configure them
manually)
... comes with additional components pre-installed, like the Maven Integration for Eclipse (including the Maven Eclipse integration for
WTP, AJDT and Groovy/Grails)

How can I use Springsource templates in Groovy on Grails Toolsuite?

I am using Groovy on Grails Toolsuite 3.1.0.
I want to use a template for a Spring MVC application.
I am not finding the template where I would expect it in File – > New -> New Spring Template Project -> Spring MVC Project
Has anybody used SpringSource templates in Groovy on Grails Toolsuite?
I used help -> install new software then I entered http://dist.springsource.com/release/TOOLS/update/e3.8 as the update site and installed Core, Extensions, Integrations, and Resources for Spring IDE.

How to make spring roo project has dynamic web nature?

Hi I'm giving a try of Spring Roo, I have STS installed with eclipse.
if I do new-> Dynamic Web -> add spring roo nature, the spring roo shell keep showing message of "Not spring roo installed" (actually I have it installed in preference->spring roo)
if I do new->spring Roo project, the project generated is a java standard application and not a web application :S but the ROO console works
and I do "controller all --package ~.web" command it only generate web.xml but still missing the option run as.. -> server
screenshot: http://i54.tinypic.com/14mqu8h.jpg
any idea?
Please run the perform eclipse Roo command in your Roo Console on your project and see.
You should probably run your Roo project with m2eclipse addon installed. Use tomcat:run as your Maven goal.
There is a series of articles on the starting from the following link which would address most of your questions related to eclipse configuration.
http://blog.lckymn.com/2009/05/17/roo-so-cool-01/
Cheers!!!