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

What are the preparation of the development environment and the steps of Lombok installation

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

In this issue, the editor will bring you about the preparation of the development environment and how to install Lombok. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

The preparation of the development environment mainly involves three aspects: JDK, Maven, and Spring Tools 4 for Eclipse.

1. JDK

The version of JDK can be used with 1.8, and you can configure the environment variables by yourself. Configure the environment variable and type "java-version" on the command line to display the version information, as shown in the figure.

2. Maven

Maven is used for project construction, and the version used for the tutorial is 3.6. After installation, you also need to configure environment variables, and after configuration, you also need to type "mvn-version" on the command line to detect, as shown in the figure.

3. Spring Tools 4 for Eclipse

You can choose the development tools you are familiar with, not necessarily using the Spring Tools 4 for Eclipse,Spring Tools 4 for Eclipse download address: http://spring.io/tools.

Lombok installation steps

After the download is complete, you also need to install the Lombok plug-in, and the sample code for this tutorial uses Lombok to simplify the get,set method.

1) download lombok.jar (https://projectlombok.org/index.html) on the official website.

2) run jar directly (the absolute path of the java-jar lombok.jar package), as shown in figure 3.

An interface is then displayed, as shown in the figure.

Click the Install/Update button to install successfully and restart IDE to use it.

The above is the preparation of the development environment and Lombok installation steps shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

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

Development

Wechat

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

12
Report