官术网_书友最值得收藏!

Creating a Spring Boot project using the STS IDE

Spring Tool Suite is one of most popular IDEs for Java developers to develop Spring-based applications. If you don't have STS in your machine, first download the latest version of STS from the following link:

http://spring.io/tools/sts

Let's create a new Spring Boot application in the STS by selecting the New | Spring Starter Project menu item from the File menu. Let's see the following screenshot; STS will present you with a dialog box:

As you can see in the screenshot, this dialog box asks for the same information as the web-based Spring Initializr. So, let's fill it in with the same information, whatever we filled in the web-based Spring Initializr with.

Let's click the Next button. It will present us with a second dialog box like the one shown in the following screenshot:

Let's click on the Finish button. It will present the project structure in your workspace with the same directory structure and default file as the web-based approach presented to you in the ZIP file.

You must be connected to the internet in order for it to work, because STS internally delegates to the Spring Initializr at http://start.spring.io to produce the project.

Now that the project has been imported into your workspace, let's create your application files, such as controllers.

主站蜘蛛池模板: 新密市| 中山市| 宜春市| 株洲县| 丹凤县| 桃园市| 神池县| 巴林左旗| 西盟| 禄丰县| 昆明市| 沈丘县| 石渠县| 成武县| 塔河县| 灵宝市| 娱乐| 玉林市| 交城县| 昭平县| 翁牛特旗| 泸州市| 新化县| 祁连县| 富裕县| 二连浩特市| 洞头县| 蒙山县| 东方市| 遵义县| 郓城县| 鹤山市| 邻水| 双江| 定襄县| 芮城县| 新巴尔虎左旗| 南平市| 广水市| 无锡市| 哈巴河县|