Java Spring Tool Suite

Spring Tool Suite 3.9.7: New and Noteworthy Updates and New/Enhanced Features Eclipse 2018-12 (4.10) The default STS distribution is now based on the recently released Eclipse 2018-12 (4.10) release, including support for Java 11. Mar 27, 2019 Dear Spring Community, Hey! I am happy to announce the 3.9.8 maintenance release of the Spring Tool Suite 3 (STS3). Highlights from this release include: updated to Eclipse 2019-03 release quick text search allows you to switch between modal and non-modal mode quick test search allows you to limit search scope to specific files new tab for. Spring Tool Suite 3.9.8: New and Noteworthy. Updates and New/Enhanced Features. Eclipse 2019-03 (4.11) The default STS distribution is now based on the recently released Eclipse 2019-03 (4.11) release, including support for JUnit 5.4.

Join the DZone community and get the full member experience.

Join For Free

I've been a long time Java developer and have always used Eclipse. Eclipse on it's own though doesn't always come with all the plugins you want. Eclipse has gotten better over time with adding new plugins, but it used to be kind of painful to add new plugins as you'd have to also satisfy the plugin's dependencies as well. I have always like to start off using SpringSource Tool Suite. It comes with plugins for Spring IDE, M2Eclipse for Maven projects, AspectJ tools, the web platform tools.

This post will detail getting started with Spring Source Tool Suite and creating an initial Maven project. I will detail all the steps necessary.

  1. If you haven't already, get the JDK and not just a JRE. In Windows, set an environment variable JAVA_HOME to the directory where the JDK is installed. In my case I like to install a lot of things in an apps directory. Many tools do not like a space in the path, so you don't want to put it in Program Files. In my case JAVA_HOME is set to C:appsJavajdk1.7.0_10. Next add %JAVA_HOME%bin to your path.
  2. Download and install Spring Source Tool Suite (SSTS) for your platform.
  3. The installer will prompt you to install Maven which you should. I also like to install Maven locally on my computer so I can run it from the command line. Follow the instructions for installing Maven outside of Eclipse.
  4. Once everything is installed, open SSTS. To get started with Maven, you'll want to ensure you index the Maven Repositories. The repositories are where many of the libraries you'll want to use are made available. For instance Apache has a repository. You can browse it here. Indexing the repository in Eclipse helps you to search for artifacts you will want to add to your project.
    1. You need to open the Maven Repositories view. To do so, go to the Window->Show View->Other menu.
    2. In the filter box type Maven. Maven Repositories will be shown in the list. Select it and press OK.
    3. Now you will see the Maven Repositories. There should be one entry called central under Global Repositories which you will see once you expand that view. Right click on central and select Enable Full Index. This will take a while. While updating, the entry will show in italics and the word updating will show within brackets.
  5. Once the repository is finished updating, you are ready to create your first project using Maven.
    1. Go to File->New->Other menu.
    2. In the filter text box, type Maven. Select Maven Project and click Next.
    3. Leave the defaults on the next screen and click Next.
    4. Now you will be on the screen where you pick your archetype. In Maven, an archetype is like a template for creating a project. In this example we will leave the default which is maven-archetype-quickstart. This archetype is for a simple Java project. I will use this in future posts that I am going to do about Spring Integration. From here click Next
    5. Now you will be asked to enter the GroupId, ArtifactId, Version and Package. The first three are the coordinates that another project would use if they wanted to reference your project. GroupId is similar to a Java Package. I would usually put com.yourorg. ArtifactId would be your project name. Version is used to create different versions for your application. If it is not an official release, you would typically have -SNAPSHOT appended to the end as it does when you create your first application. Package I would leave the default. After entering these, click Finish.
    6. Now you have your first Maven application. To test your configuration, you can build it in Eclipse. Right click your project and select Run As -> and the second Maven Build. This will bring up the Edit Configuration window. Under Goals, type package. Then click the Run button. In the Console window you will notice Maven downloading a bunch of packages. If you go to the target folder in Maven and refresh it, you should see a new Jar file for your project.

To learn more about Maven, look at their Getting Started Guide. My next post will start to look at Spring Integration.

Opinions expressed by DZone contributors are their own.

You Need To Have C:\\Program Files\\Java\\jdk-14.0.2\\bin In Your Path. Also Check That, -vm C:\\Program Files\\Java\\jdk-14.0.2\\bin\\javaw.exe In Spri..

Popular on DZone

In this post, we will learn on how to create a maven web application project

Tools used

Java Spring Tool Suite 7

Java ee spring tool suite
  • Spring Tool Suite (version: 3.9.4.RELEASE)
  • Maven (version: 3.5.2)
  • Java (version: 1.8)
  • Tomcat (version: 9.0.2)


  1. Create new Maven project
  2. Configure Tomcat
  3. Create src/main/java and src/test/java folders, if there aren’t any
  4. Run the application

Screen shots

Step 1 – Create Maven web application project using either Eclipse IDE or STS

  1. Click New->Maven Project
    1. Select default location
    2. Select “maven-archtype-webapp”.
    3. Enter Group Id, Artifact Id, package details and hit finish

Below is the project structure after hitting finish

Note: If you look in the problems view, the error is “The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path. This error indicates that http-servlet is not available in the project class path, once we add target-runtime to the project , http-servlet will be available in the project class-path.

War Thunder is an free-to-play MMO combat simulator dedicated to mid-20th century military aviation, armored vehicles, and naval vessel combat. You will take part in all of the major combat battles, fighting with real players all over the world. Become a lone hero or lead your team to victory — the choice is yours! War Thunder is a World War II-inspired massively multiplayer online combat game developed by Gaijin Entertainment. 1 Biography 2 List of Streamers 3 System Requirements 4 Trivia The game contains a variety of aircraft, and armoured vehicles such as tanks from the Spanish Civil War to Korean War period with an emphasis on World War II. The full game contains more than 450 aircraft from the. War thunder fandom. War Thunder is a massively multiplayer vehicular combat game developed by Gaijin Entertainment. The game is set to contain aircraft, armored vehicles, and ships from the pre-World War II era to the early Korean War era. Most maps in-game are either. War Thunder is a virtual reality game for the Playstation VR and Oculus Rift platforms. 1 Summary 2 Official Summary 3 Media 3.1 Videos 3.2 Screenshots War Thunder offers a highly detailed and personalized military aviation and land battle experience, giving players access to hundreds of models of aircraft with detailed cockpits, ground vehicles with awesome firepower, flying and driving.

Errors will be resolved after configuring run time server such as Tomcat server

Step 2 – To configure Tomcat server:

  1. Right click on project and select “Properties”.
  2. Select “Targeted Runtimes” on left hand side.
  3. Select “Apache Tomcat v9.0”.
  4. Click apply and close

Step 3 – To create src/main/java and src/main/test folders,

  1. Right click on project structure, select “Properties”,
  2. Select “Java Build Path” on left hand side
  3. On right hand side, select “Order and Export” tab
    1. select “Maven Dependencies” and “JRE System Library”
    2. select apply and close

Note: If you still see errors, right click on project and do Maven -> update project

Step 4 – Run the application

  1. Right click on project, select Run As and Run on Server
  2. Select Tomcat server in the window
  3. Select Finish
  4. Type http://localhost:8080/SpringMVC/ in your favorite web browser to see “Hello World” message

Project Structure

Final maven project structure looks like below