Quickly build a spring cloud project

Source: Internet
Author: User
Tags spring initializr

  

About Spring Cloud

Spring Cloud provides developers with tools to quickly build distributed systems, including configuration management, service discovery, circuit breakers, routing, micro-proxies, event busses, global locks, decision-making campaigns, distributed sessions, and more. It runs in a simple environment and can run on a developer's computer. It is also stated that spring Cloud is based on springboot, so it is necessary to have a certain understanding of springboot in development.

In all previous spring boot related posts, the creation of the spring Boot project was involved. There are many ways to create them, either manually by Maven or through scaffolding, or by using the Spring INITIALIZR page tool, which is believed to have the most favorite and most skilled way to create.

In this article we will introduce the spring INITIALIZR tool in embedded IntelliJ, which, like the creation capabilities of the Web, can help us quickly build a basic spring cloud project.

Create a project

First step: In the menu bar, select File=new=project., we can see the Create features window as shown. The address that the initial Service URL points to is spring's official spring INITIALIZR tool address, so the project created here is actually based on its web tools.

  

Step Two: Click Next, wait a moment, we can see the Project Information window as shown here, where we can edit the engineering information we want to create. Where type can change the type of project we want to build, such as Maven, Gradle; Language can choose from: Java, Groovy, Kotlin.

  

Step three: Click Next to go to the Select Spring boot version and the Dependency Management window. Our concern here is that it includes not only the dependencies in spring Boot Starter Poms, but also the various dependencies of Spring cloud.

  

Fourth step: Click Next to enter the last few details about the physical storage of the project. Finally, click Finish to complete the construction of the project.

  

The spring INITIALIZR in IntelliJ is based on the official web implementation, but the tools are invoked and the results are built directly into our local file system, making the entire build process smoother, without experiencing the spring of this feature Cloud enthusiasts may wish to try this different way of building.

Written in the last

?

Quickly build a spring cloud project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.