Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use Spring Initializr in Intellij to quickly build Spri

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

The creation of the Spring Boot project will be covered in all previous Spring Boot and Spring Cloud related blog posts. And created in a variety of ways.

We can build it manually through Maven or quickly through scaffolding, or through the article "getting started with Spring Boot".

SPRING INITIALIZR page tool to create, I believe that each reader has their own favorite and most skilled way to create.

In this article, we will introduce the Spring Initializr tool embedded in Intellij, which, like the creation function provided by Web, can help us quickly build a

Basic Spring Boot/Cloud project.

Select File= > New= > Project.., in the menu bar and we can see the creation window shown in the following figure. Where the address that Initial Service Url points to is

Spring officially provides the address of the Spring Initializr tool, so the project created here is actually based on its Web tool.

After clicking Next and waiting for a moment, we can see the project information window shown in the following figure, where we can edit the project information we want to create. Among them, Type can change the type of project we want to build, for example: Maven, Gradle; Language can choose: Java, Groovy, Kotlin.

Click Next to go to the window for selecting Spring Boot version and dependency management. What we are concerned about here is that it contains not only the various dependencies in Spring Boot Starter POMs, but also the various dependencies of Spring Cloud.

Click Next to get to the final details of the engineering physical storage. Finally, click Finish to complete the project.

Although Spring Initializr in Intellij is still based on the official Web implementation, it uses tools to call and build the results directly into our local file system, making the whole build process smoother. Spring Boot/Cloud enthusiasts who have not experienced this feature may wish to try this different way of building.

Source code source

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report