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

Steps to build a Springboot environment

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

Share

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

This article mainly explains the steps of building a Springboot environment. The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn the steps of building a Springboot environment.

Springboot environment building

1. Eclipse building

1. Use plug-ins to create

Download address https://blog.csdn.net/zhen_6137/article/details/79384798 of the STS plug-in corresponding to each version of Eclipse

Note: the StS plug-in must run as JDK1.8 or the installation will fail

Help- > Install New Software- > Add- > Archive Location: select the sts package you downloaded. Name: write whatever you want.

Check the item with Spring IDE (4 items) and remove Contact all update. Previous check box

New project

2. Create without plug-in

Create a maven project

Now that the maven project has been created, what we need to do is what is missing (below)

Step 1: import pom file related dependencies

Springboot version selection reference: https://blog.csdn.net/u011402896/article/details/79958116

Org.springframework.boot

Spring-boot-starter-parent

2.0.8.RELEASE

UTF-8

UTF-8

1.8

Org.springframework.boot

Spring-boot-starter-web

Org.springframework.boot

Spring-boot-starter-test

Test

Org.springframework.boot

Spring-boot-maven-plugin

Note: org.codehaus.plexus.archiver.jar.Manifest.write (java.io.PrintWriter) error occurred in pom.xml

Solution: help-Install New Software-Work with input http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/

After next installs the update, restart eclipse and the project maven update will be ready.

2. Build IDEA (find it by yourself)

3. Build STS (Spring tool suite) (find by yourself)

Thank you for reading, the above is the content of "steps to build a Springboot environment". After the study of this article, I believe you have a deeper understanding of the steps of building a Springboot environment, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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