Skip to content
Working a Getting Started guide with IntelliJ IDEA :: Learn how to work a Getting Started guide with IntelliJ IDEA.
Shell
Branch: master
Clone or download
arunprakash and gregturn Specify as ultimate version (#5)
Since community dont support Spring. It has to be specified as Ultimate somewhere.
Latest commit 366b399 Jan 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images adjusted resolution Sep 1, 2016
test
.codesets.json Initial commit of gs-sts Aug 28, 2013
.gitignore Convert to asciidoctor Nov 25, 2013
.travis.yml Turn on Slack notifications Aug 4, 2015
LICENSE.code.txt
LICENSE.writing.txt Initial commit of gs-sts Aug 28, 2013
README.adoc Specify as ultimate version (#5) Jan 11, 2018

README.adoc

tags projects
ide

This guide walks you through using IntelliJ IDEA to build one of the Getting Started guides.

What you’ll build

You’ll pick a Spring guide and import it into IntelliJ IDEA. Then you can read the guide, work on the code, and run the project.

What you’ll need

Installing IntelliJ IDEA

If you don’t have IntelliJ IDEA (Ultimate Edition) installed yet, visit the link up above. From there, you can download a copy for your platform. To install it simply unpack the downloaded archive.

When you’re done, go ahead and launch IntelliJ IDEA.

Importing a Getting Started guide

To import an existing project you need some code, so clone or copy one of the Getting Started guides, e.g. the REST Service guide:

$ git clone https://github.com/spring-guides/gs-rest-service.git

With IntelliJ IDEA up and running, click Import Project on the Welcome Screen, or File | Open on the main menu:

Import Project

In the pop-up dialog make sure to select either Maven's pom.xml or Gradle's build.gradle file under the complete folder:

Select File or Directory to Import

IntelliJ IDEA will create a project with all the code from the guide ready to run.

Creating a Project from Scratch

In case you’d like to start with an empty project and copy-and-paste your way through the guide, create a new Maven or Gradle project in the Project Wizard:

Project Wizard

See Also

The following guide may also be helpful:

You can’t perform that action at this time.