Integrate Spring with IntelliJ

The SpringSource Tool Suite has nothing to do with IntelliJ Idea, in fact it is a different IDE (it's a specialized Eclipse distribution).

So while it does make sense to download the Spring framework (although it's better to access it through a build tool like Maven), it does not make sense to use both Springsource Tool Suite and IntelliJ Idea. It's one or the other (and both support Spring perfectly well).


I am answering this question so late, but I need to contribute to the answer in order to clarify things so it may help others in future.

There is something you need to know clearly, there are two different types of IntelliJ IDEA, the first one is INTELLIJ IDEA ULTIMATE which is a comercial product, it means it is not free, and there is INTELLIJ IDEA COMMUNITY, which is free.

The first one (IntelliJ IDEA ULTIMATE) support everything regarding java and kotlin plus other languages, with that you can create any type of project in java, it doesn't matter if it is a desktop application, mobile app or web app with java2ee platform. But the second one (IntelliJ IDEA COMMUNITY) it has limitations. You can create different types of projects of your choice but you cannot go with java2ee project if you are not creating it with maven or gradle.

So, if you want to create SpringBoot application, it may be possible with IntelliJ IDEA Community. You don't need to download Spring Tool Suite for that. There are 2 or three possibilities.

  1. You need to go to create project, then you choose maven, then you set everything, then after the project has been created, you open the xml file called pom, you add dependencies which will tell maven to download all needed libraries for SpringBoot application. And you start your coding. But this first step, is not the best choice, because once you created project in this way, there are other maven-plugins that you will miss in your project, so it will be a big problem when it comes to deployment.

  2. The second way which is the best is to go to https://start.spring.io/ then you create springboot project there, then you download it, it will be a .zip file, you unzip in, then you import it in IntelliJ IDEA. There you will get everything needed to work with.


When creating a project with a wizard, you can select the Spring Framework and specify the new library or let IntelliJ IDEA download it. Libraries can be also managed later or you can Add Framework from the context menu of the root of the module in the Project View.

Check the Enabling Spring Support help section for details.