- Spring 5.0 By Example
- Claudio Eduardo de Oliveira
- 77字
- 2021-06-24 19:17:33
Adding Lombok dependency
Put the following dependency in a pom.xml file:
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.16</version>
<scope>provided</scope>
</dependency>
The provided scope instructs Maven not to include this dependency in the JAR file because we need it at compile time. We do not need it at runtime. Wait for Maven to download the dependency, that is all for now.
Also, we can use the Reimport All Maven Projects provided by IntelliJ IDEA, located in the Maven Projects tab, as shown here:

推薦閱讀
- Visual C++程序設計教程
- Mastering Zabbix(Second Edition)
- 移動UI設計(微課版)
- Python自動化運維快速入門
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- Java開發入行真功夫
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- Java 11 Cookbook
- The Complete Coding Interview Guide in Java
- C#應用程序設計教程
- Learning Concurrent Programming in Scala
- C語言開發基礎教程(Dev-C++)(第2版)
- Mastering Git
- 移動互聯網軟件開發實驗指導
- Scratch3.0趣味編程動手玩:比賽訓練營